Spring MVC with jQuery Demo

Reference: http://blog.springsource.org/2010/01/25/ajax-simplifications-in-spring-3-0/

1. Prerequisites:

A working spring MVC project.

2. Download jQuery

URL: http://jquery.com/download/

I prefer jquery-2.0.0.js, which is for development, whereas jquery-2.0.0.min.js is compressed and born for production use.

3. Place the jquery-2.0.0.js in src/main/webapp/resources folder

The folder name depends on personal preference, I am fond of convention indeed.

4. Revise the view file such as JSP.


你可能感兴趣的:(Spring MVC with jQuery Demo)