Re: how to use struts 2 to redirect jQuery Ajax request

2009-05-19 Thread dusty
} > [/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

Re: how to use struts 2 to redirect jQuery Ajax request

2009-05-19 Thread fireapple
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

Re: how to use struts 2 to redirect jQuery Ajax request

2009-05-18 Thread Steven Yang
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

how to use struts 2 to redirect jQuery Ajax request

2009-05-18 Thread fireapple
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.