If you use the JSON struts2 plugin you can have your action return a
result as a JSON object graph in response to an ajax post/get. I
don't reccomend the dojo plugin for struts2, you are better off with
JQuery. The struts2 REST plugin also serves JSON, but the JSON plugin
is simpler IMO.
-D
On Jan 10, 2010, at 5:15 AM, Amir Hussein Latifi <amir.latifi...@gmail.com
> wrote:
Hi
We have some app to selling tickets online and we want to make it
sexy by some javascript effect and ajax use, also it should be
light. We prototyping its new version by appfuse and till now jquery
is our js library and we use struts and spring.
Any idea about how to use ajax features of jquery(in general ajax)
with struts and its actions? We can call use jquery post by ursl but
is there any better approach?
Also what is best approach to get data from ajax call? JSON?
I found that some people overrides dispatcher or other parts to
manage struts actions to have better integration when they want use
JSON? Any idea?
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net