-
May 10th, 2010, 09:23 PM
#1
difference between requestmethod.get and requestmethod.post
can someone explain to me the difference between requestmethod.get and requestmethod.post? i will be using them in my spring mvc project and i just need to know how they should be used. thanks!
-
May 11th, 2010, 09:54 AM
#2
The @RequestMapping annotation is your way to specify when your method is going to be called in an annotated controller. The RequestMethod.GET and RequestMethod.POST arguments allow you to respond to the specific HTTP request type.
The documentation on the Spring annotations is pretty good and can be found at :
http://static.springsource.org/sprin...rence/mvc.html
Yours,
Clark
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules