[Logo]
Forums Register Login
How to Jsp in servlet
Hi All,

How Servlet add JSP page for responding to the view page.

Jsp sends the request to servlet, while responding the response, servlet needs to add the JSP page for the view.

Help would be appriciate.

Thanks

Gaju
Use the RequestDispatcher ...

Good luck ...
If you would like an example of this, see our SimpleMVC example in the CodeBarn.
http://faq.javaranch.com/java/CodeBarnSimpleMvc

This thread has been viewed 788 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 22, 2018 10:31:13.