I have a
Servlet that checks for information and if there is an issue it forwards the message to presentation page (
JSP). Now I want to stop using conditions in scriptlets in the JSP. Please advise how I can do it in this situation in my
Tomcat 4.1.27 container:
Servlet that forwards to JSP:
JSP
I was thinking maybe a bean or regular
Java class to handle this but not sure how. Here would be my method in a Java class:
Then I would put the method in a bean or what in JSP?
The Servlet would stay the same?