A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Other Application Frameworks
Browser Refresh - struts
Joined: Mar 17, 2005
May 06, 2005 07:20:00
I have two jsp pages.
I forward from jsp page1 to page2 (through a action on click of a link in page1)
Now when i do a refresh on the browser from the page2 ,the page1 form action is submitted.
How do I aviod this?
[ May 06, 2005: Message edited by: raj joe ]
Joined: Feb 20, 2001
May 06, 2005 07:44:00
Rather than forwarding, do a redirect.
James Carman, President<br />Carman Consulting, Inc.
It is sorta covered in the
JavaRanch Style Guide
subject: Browser Refresh - struts
jsp page redirection
Navigation problem in struts
How to make a JSP/HTML page to stay on itself when user clicks on back button on the browser?
two actionForms for one action class?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014