This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Please help me with this problem, my JSP page is displaying errors when anything is not entered in textfield that is working fine, but when i click the back button and entering into the same JSP page still it is displaying the errors.It shouldn't show anything(refresh the page).In my struts-config file my scope="session"
Am unsure of how you could do so in Struts 1.X. I use an interceptor like this in Struts 2. The Code might help you.
You need to define the interceptor in struts-default.xml and include it your interceptor stack of course.
Joined: Apr 15, 2009
Thanks for your reply, I dint understand your code, but I think there is a simple solution for this using errors.clear()
I dont know at which place I have to give this, Please anybody give me suggessions.