aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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 "/" in the address bar instead of the "/". 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:
subject: Forwarding between Actions confuse IE
Similar Threads
Anyway for my program to read Web page address from Internet Explorer's address bar?
dynamically insert row with focus next
Disable status bar and address bar in javascript
How to change logo of IE from address bar of explorer ??
How can i hide the address bar?