Java Spring Rest service ( jQuery - Ajax - JSON)

preview_player
Показать описание
Tutorial to configure Spring 3.0 and ajax calls using jQuery , Rest , JSON Response .

Hit the url below and check the response .
Рекомендации по теме
Комментарии
Автор

Totally agree .In the video the return type is a String hence there is no Object to JSON mapping, well you can return the custom object and Jackson takes care of the conversion .

AbstractCoding
Автор

Thanks for the very useful tutorial. Lalitha is right though - the ajaxJsonRequest method returns a plain string and not JSON. To produce a JSON response, it should return an object which will be automatically mapped to JSON by Jackson.

fsiddiqi
Автор

Nicely explained the whole project. I was trying to do this from 2 days but was missing to add the related dependency.

hiraltrivedi
Автор

Nick work.. Please Upload more tutorials

narensped
Автор

There is no change in the code or the framework if you switch your build tool . Only change is the build script is from ANT .

AbstractCoding
Автор

hi the url to check the response is expired..can u please update that..

LakshmananMe
Автор

What happens in the web.xml and servlet.xml is what i don't understand!!

salmansayyed
Автор

You can see the JSON response when you the hit the url pasted in the description part



AbstractCoding
Автор

and what if we use ant and not maven???? how to do it then...

irrr
Автор

Where you have implement Rest service, even i don't see you have used jackson in your method.. its simple jquery ajax request.. that's it.. am sorry.. any how tnx..

Saleem.a
Автор

Where is the JSON format? Please refer to JSON format. This is not a valid json format

raypul
Автор

I dont see any json involvement in this demo

lalithajonnavithula
visit shbcf.ru