Announcement Announcement Module
Collapse
No announcement yet.
controller, requestMapping get and set Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment

    Working...
    X