[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.
Hug your destiny! And hug this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature


This thread has been viewed 1175 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 24, 2018 15:15:25.