| Author |
Page not refreshed using Struts actions
|
Billy Blanks
Greenhorn
Joined: Apr 13, 2011
Posts: 11
|
|
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
|
 |
 |
|
|
subject: Page not refreshed using Struts actions
|
|
|