Mar 15th, 2011, 01:43 AM
controller, requestMapping get and set
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)
Mar 29th, 2011, 03:34 AM
why only get and set?
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.