Results 1 to 2 of 2

Thread: controller, requestMapping get and set

  1. #1
    Join Date
    Apr 2008
    Location
    spain
    Posts
    21

    Default controller, requestMapping get and set

    hi

    i use spring 3.0

    i created a webpage who allow to search data in a db.
    user type some information, click on search and a list of information is displayed

    my problem is the method in the controller...
    a method can only have a get or a set... (@RequestMapping)

    any idea?

    thanks

  2. #2
    Join Date
    Aug 2010
    Posts
    7

    Default why only get and set?

    Hi,
    A little unclear from your question what your question actually is.
    But what do you mean there is only get and set for RequestMapping? If you are referring to the method types that are supported then there are 4 corresponding to the 4 types in HTTP (GET, POST, UPDATE, DELETE), no set involved.

    Please clarify what it is you are you trying to accomplish and why are you are not able to do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •