This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Forwarding between Actions confuse IE" Watch "Forwarding between Actions confuse IE" New topic
Author

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
Sheriff

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Forwarding between Actions confuse IE
 
Similar Threads
How can i hide the address bar?
Anyway for my program to read Web page address from Internet Explorer's address bar?
How to change logo of IE from address bar of explorer ??
dynamically insert row with focus next
Disable status bar and address bar in javascript