-
Notifications
You must be signed in to change notification settings - Fork 38.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RC2: Issue with RequestMethod.GET differs from M2 [SPR-6378] #11045
Comments
Arjen Poutsma commented Added formatting. |
Arjen Poutsma commented I'm having a hard time duplicating this behavior. Is there any additional info you can give me, like registered handlermappings and other stuff in your application context? It might be easiest to attach that context as a whole... |
Arjen Poutsma commented Closing as Cannot Reproduce for now, might reopen later when we have more info. |
Ken Sipe commented I'll include the web.xml and the spring-config.xml... if more information is needed I'll put the whole project up on github. It would still be nice to know the order of preference for different requestmappings. springmvc-servlet.xml
web.xml file
|
Arjen Poutsma commented The problem was the combination of ControllerClassNameHandlerMapping and |
Ken Sipe opened SPR-6378 and commented
I have a demo for Spring 3 Web that I've been running for some time... the upgrade to RC2 broke the demo. The code is listed below. What we need is details on the order of requestmappings... I thought I saw that earlier this year in the forums, but I can't find it anymore. Can someone please provide the details on the order of requestmappings... thanks.
The code below (which worked before) now fails for a GET request against the list method or http://localhost:8080/mvc/book/list
I had specified the GET and POST for clarification before on the create methods... after some investigation, I discovered that if I remove the method = RequestMethod.GET on the create method that the app begins to work. So I can work around this. What behavior should be expected?
Affects: 3.0 RC2
Issue Links:
@RequestMapping
with relative value on Controller method doesn't work anymore ("is duplicated by")Referenced from: commits 89975c8
The text was updated successfully, but these errors were encountered: