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.


Use the RequestDispatcher ...

Good luck ...
If you would like an example of this, see our SimpleMVC example in the CodeBarn.
I want my playground back. Here, I'll give you this tiny ad for it:
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 760 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 16, 2018 06:18:48.