File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Browser Refresh - struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Browser Refresh - struts" Watch "Browser Refresh - struts" New topic

Browser Refresh - struts

raj joe
Ranch Hand

Joined: Mar 17, 2005
Posts: 99
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 ]
James Carman
Ranch Hand

Joined: Feb 20, 2001
Posts: 580
Rather than forwarding, do a redirect.

James Carman, President<br />Carman Consulting, Inc.
I agree. Here's the link:
subject: Browser Refresh - struts
jQuery in Action, 3rd edition