Announcement Announcement Module
Collapse
No announcement yet.
difference between requestmethod.get and requestmethod.post Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X