So there is no way to put the control of determining the result to Struts
instead of Javascript?


Steven Yang wrote:
> 
> 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
> 
> 

-- 
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 unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to