• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forwarding between Actions confuse IE

 
Philip Pomario
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the on the JSP coming back Ok , other than that address bar?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic