• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Ajax with Spring MVC

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • 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
 
Marshal
Posts: 67286
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to Application Frameworks.
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • Quote
  • Report post to moderator
Richard,

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

Jim
 
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!