• 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: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am trying with my little knowledge to update the Customer Details onChange event of list, let me tell you the way i am doing it.

I am using simpleFormController that loads the list values, When i select any of the customers from the list i call javascript function that does AJAX process, in this process I am passing URL that invoke the same contoller again. Infact, This is the point where i am confused as i need to see the customer details on same page, But they are not coming on the page but definately coming from DB.

I am wondering if i am doing it right?

code is as follow;


 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know Ajax, but I do know that Spring has Spring Javascript which makes doing Ajax calls easy in Spring MVC. Maybe it might be best to use it, rather than trying to re-invent the wheel.

Mark
reply
    Bookmark Topic Watch Topic
  • New Topic