• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ajax with Spring MVC

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have written a Spring MVC application and use DisplayTag for displaying tables. I would like to Ajax enable DisplayTag for my application. I would like a page to automatically update without a refresh as elements are added to the database. I have tried AjaxTags and AjaxAnywhere but have been unable to make them work. Does anyone have any workable examples of AjaxTags or AjaxAnywhere or suggestions on another path? Any suggestion would be greatly appreciated.

Jim
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to Application Frameworks.
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have tried AjaxTags and AjaxAnywhere but have been unable to make them work



which example you used.. and error detail you are facing..
 
James Daniel
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Muhammad,

I tried the following examples:

http://www.lucianofiandesio.com/javatales/ajxfuse.html
http://www.ajaxmatters.com/articles/gen/ajaxtags_1_p1.aspx
http://www.ajaxmatters.com/articles/gen/ajaxtags_2_p1.aspx

I also tried others but can't remember the URLs. It seems as if the documentation is not update to date. I wrote a work around that formats the table and then sends HTML to page. I know it is terrible but needed to continue on with project. If you have any idea, please forward them on. I would be grateful.

Jim
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Muhammed,

If you're using Spring MVC then you might consider using DWR with Spring

http://bram.jteam.nl/index.php/2007/01/31/spring-dwr-ajax-made-easy/



 
James Daniel
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Richard,

This looks like a good article. I will give it a try. Thanks so much.

Jim
 
reply
    Bookmark Topic Watch Topic
  • New Topic