Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it not possible to do AJAX enable page by xml configuration in Spring MVC?

 
Ajharul Abedeen
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to do AJAX enable jsp page in SpringMVC, i know only xml configuration. I searched in the internet for example, but i have not found any example so far that shows AJAX work with XML configuration. All of  the examples i found that are done by annotation based configuration. Now i want to know that is it not possible to do ajax enable jsp page by XML conflagration. My intention is that  i will save  data into the database and when i will press the save button, all the records of the database will be shown below.

Now, my question is that is it not possible use AJAX in XML based configuration ?
If yes, would any one provide an example.
 
Ankit Garg
Sheriff
Posts: 9597
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do it, you just need to create a Controller and configure it using XML configuration. You can see some examples here or here...
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!