CodesJava

Easy learning with example program codes

How do we call one servlet from another servlet?


The forward() method of RequestDispatcher is used to forward the request to a resource in same application. The sendRedirect() method of ServletResponse is used to forward the request to a resource in another application.

Related topics

Sign Up/ Sign In
Ask a Question


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki