This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Forwarding between Actions confuse IE  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!