Hi
I have a action class called questionAction and a form called questionForm. In the struts-config.xml file i have set the scope of the form to be 'session' as i use the same form across multiple
jsp pages, and need to pass data around them.
I have a side navigation bar, when a user clicks a link on this bar, i would like to end the session of my questionForm, i.e. set all its values to null.
I know i can end the http session using...
HttpSession session = request.getSession();
session.invalidate();
...but this ends all the sessions.
How can I end the session of the questionForm, or clear all its values?
Thanks
Sheetal