wood burning stoves
The moose likes Struts and the fly likes Forwarding between Actions confuse IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Forwarding between Actions confuse IE" Watch "Forwarding between Actions confuse IE" New topic

Forwarding between Actions confuse IE

Philip Pomario
Ranch Hand

Joined: Oct 03, 2003
Posts: 113
Hi guys, I'm having a little navigation problem in my Struts application. One of my JSPs submits its data to "Action_One" which forwards to "Action_Two" and latter forwards to "FooPage.jsp". The issue is: when "FooPage.jsp" is viewed, IE shows "/Action_One.do" in the address bar instead of the "/Action_Two.do". What would be the work around to update the address bar correctly?

Any comments are much appreciated.
Archana Annamaneni
Ranch Hand

Joined: Jan 29, 2003
Posts: 147
Is the on the JSP coming back Ok , other than that address bar?
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Put redirect="true" in the forward tag going to Action_Two.

Note that this also consequentially creates a new request, so I hope Action_Two doesn't need anything from Action_One's request.

A good workman is known by his tools.
I agree. Here's the link: http://aspose.com/file-tools
subject: Forwarding between Actions confuse IE
It's not a secret anymore!