This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Page not refreshed using Struts actions  RSS feed

Billy Blanks
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I am working a task that allows a user to perform an action on a jsp page which calls a struts action "/path/" and upon successful processing, control should be redirected to the “/path/fwdtestformsdb2” action which builds mynewpage.jsp page for the user to be forwarded to. But instead of the user being redirected, the user remains on the original page. When I look in firebug's Net > XHR, I can see that my two actions are being called: and If I expand the first ajax call and look in both the response and HTML, I can see that the /path/mynewpage.jsp page is constructed with the updated values from the action that the user performed. But I am not understanding why the browser does not refresh to the page in the Response? Any and all help is greatly appreciated.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!