-
Mar 15th, 2011, 01:43 AM
#1
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
-
Mar 29th, 2011, 03:34 AM
#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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules