struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Yang <>
Subject Re: how to use struts 2 to redirect jQuery Ajax request
Date Tue, 19 May 2009 01:19:05 GMT
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 decide based on the result to
redirect or stay on the same page.
but still the job of determining the result is on your javascript

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message