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.
I wanted to know that whats the way of redirecting the control to any JSP page using ''mapping.findForward("success")'' statement and ensuring that when the JSP page to which control is passed gets loaded with latest data again.
basically whats happening now is that when JSP page is displayed it is displaying me the old data. but i want to ensure that when this JSP is displayed it should be loaded again completely. Does any one can tell me how we can do that.
You might be using Scope="Session" for that action . Try scope="request". This might solve your problem.
********Deserve Before You Desire********
Joined: May 05, 2006
thanks for the answer. but i havent tried it yet as i already found a way without using the suggestion u made. all i did was to call the method which would load the latest data into session before redirecting control to a JSP.
But now I have another problem. The above mentioned problem having being solved at my PC(which is the server) is coming up when I try to run the apication from some other PC. At client side old JSP page gets loaded despite the fact that session contains latest data. I am bemused by this behaviour.
Can any one throw some light on the reason why a browser might load the old page at some instance and on some other loads the new page.