Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page not refreshed using Struts actions

 
Billy Blanks
Greenhorn
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/updateactivestatus.do" 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: updateactivestatus.do and fwdtestformsdb2.do. 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.

halfdomedog
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic