There is no reason why Struts can't figure out the URL and give it back. I
have not seen the JSON result used the way you have it configured.
Typically, you see the JSON result with a root parameter. The root is the
action property you want to be the root of your JSON object graph.
So what I w
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 a
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
3 matches
Mail list logo