the first method (easy to use, anti-mosquito):
1.1 Receive from Form form to Congtroller. 1 is the form form, 2 is the AJAX submission 3 SPRINGMVC receive
1.2 Debug look backstage data, see, Usereo received the data
1.3 People want to see Seralize and Seralizearray data different
Seralize:id=1&name=xiaohua&age=18&sex=man
seralizearray[ID 1],[name xiaohua],[age 18],[Sex mans]
The second method submits the form, the font with red, first green after red good omen
The second method draws on http://blog.csdn.NET/zhangdaiscott/article/details/18456215
The author level is high, not to small white tell how to receive, or that form
2.1 JSP:
2.2debug See results
2.2.1 Controller:
2.2.2 JSON into Java objects:
Here's a simple way to not reference the extra jar
jquery implements the Ajax Submission Form form (which can be submitted as JSON), which is received with SPRINGMVC. Graphic explanation