File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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
It's not a secret anymore!