Hi All, Could someone throw light on how can a JSP page use multiple Action Form classes ? While navigating one JSP to another, I need to access properties from one of the previous used Action forms. Lemme if it is permissible. If yes, then how ? Cheers Upen
if you gave your action forms the session scope, then they are in the session. Just test this by printing off all attributes in the session and display them on your required jsp page first. Next step is to use them as a bean.
swimming certificate (A & B), shoelaces diploma, and some useless java ones.
It's usually recommended to have the forms in request scope. If that is your case, you will need to place the information that you need to keep in session (or persist it and retrieve again if you have a larger app). This is pretty easy to do from the Action that handled the important form: request.getSession(false).setAttribute("importantValue", importantForm.getImportantValue() );