I want to send a parameter from a jsp page...and i want to get it in the action class.
i want to do this ...because i want to know from which page this action is called .
so, i did
session.setAttribute("pageTracker","fromManagement"); at the top of the jsp page
And in the action class i did
// do something
is this correct ? but this seems erroneous ....i am not getting the desired result.
I cant use hidden parameter in the jsp form ...because the form is html:form ..a struts from .
In fact i am looking for a way so that my action class can know from which jsp it is coming.