Results 1 to 2 of 2

Thread: difference between requestmethod.get and requestmethod.post

  1. #1
    Join Date
    May 2010
    Posts
    18

    Default 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!

  2. #2

    Default

    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
  •