[Logo]
Forums Register Login
Changing a view from a Servlet to Jsp
Heres the 'Controller' Servlet: The request dispatcher: reqDispServlet.java


Heres the 'View' servlet- to where the redirect happens : page4.java



I want to replace the 'View' servlet to a Jsp 'View': something like this:- (this is incomplete)



How do i do the redirect to a jsp from the controller servlets 'get' method ?
"IaM yOgI", please check your private messages regarding an important administrative matter.
So forward to the JSP--what, specifically, are you having an issue with?
 

So forward to the JSP--what, specifically, are you having an issue with?


I figured it now...hoe the expression syntax of jsp works to get attributes...and made this view jsp.


Thanks !!
Consider using JSTL rather than scriptlets--get started on the right foot and develop in a more modern, acceptable fashion.
Heyy Thanks i will learn soe JSTL.

This thread has been viewed 1222 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 25, 2018 01:19:42.