PDA

View Full Version : EXT JS and Struts... Send data from servlet to JavaScript using JSON objects



sudhav
3 Jul 2012, 3:54 AM
Hi All,

I am new to EXTJS.
I am working on a web application which uses struts.
I worked on couple of charting examples with Json DataStore available in Sencha Forum and they worked correctly.
Now I would need to combine this with the existing struts web-app to get data from the servlet and then display chart on the JSP page.

Can anyone help me with a simple example to do this.

Thanks in Advance.
Regards,
Sudha

scottmartin
8 Jul 2012, 3:18 PM
As long as you are using JSON to transfer the information from/to client, you should be fine.
I believe there are several struts examples in the wild if you look around.

http://www.sencha.com/forum/showthread.php?106427

Scott.