}
> [/code]
>
> The problem is, in this way, the controller doesn't determine the redirect
> page, which is not what struts 2 should be.
>
> Any suggestions about this issue, instead of the method above(change
> callback function
t;
>
--
View this message in context:
http://www.nabble.com/how-to-use-struts-2-to-redirect-jQuery-Ajax-request-tp23605756p23616595.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
Actually you went off Struts' scope by using AJAX.because javascript is on
the client side. by using XHR you have put the control of determining the
result to javascript and not Struts.
one other way you can do it is you can let server send the url along with
other information to client and client
ead of the method above(change
callback function of login.jsp based on json data)? Thanks!
--
View this message in context:
http://www.nabble.com/how-to-use-struts-2-to-redirect-jQuery-Ajax-request-tp23605756p23605756.html
Sent from the Struts - User mailing list archive at Nabble.com.
4 matches
Mail list logo