| Author |
Spring AJAX Support
|
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
|
|
Hi,
Can I add ajax support in my spring mvc 2.5 web app. I have asked this because most of my spring form controls are binded to the spring form tag library.
I tried to search at the spring documentation but I cannot find anything related to ajax integration.
Also, If I use a library like Jquery, will I be able to integrate it into my current web apps. It does mentions about DWR but I wanted to try jquery for that matter.
I tried to google but I cant find a good resource that explains this.
Hope somebody can shed me light on this..
|
Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
|
 |
Rajkumar balakrishnan
Ranch Hand
Joined: May 29, 2008
Posts: 445
|
|
Thats where DWR comes. Have a look at it at
http://directwebremoting.org to know how to integrate AJAX functionality with Spring.
|
Never try to be a hard-worker. Be a smart-worker.
My Blog
|
 |
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
|
|
Hi Rajkumar,
Thanks for the reply..
In my book pro spring 2.5, it does mentions about DWR support in spring. But I was planning on applying Jquery as an ajax library.
At this point I cannot find enough resource on how to apply jquery on spring configurations.
Do you have resource that discusses about this? Thanks.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
|
Unless I'm missing something really fundamental, why do you feel that you need some sort of special integration? Just import and use jQuery on the pages as you would any other pages.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
|
|
Hi Bear,
The truth is, I still dont know yet how to handle ajax call in the controller interface when I use Jquery.
I only find resources related to DWR configuration in spring.
I found this Spring JSON View Spring-JSON but I am not sure if many are using this or if this is scalable and dependable to use.
As of the moment, I am looking on using jquery on some of the client side stuff but use DWR on the ajax call. Not quite sure if this is efficient honestly
|
 |
 |
|
|
subject: Spring AJAX Support
|
|
|