Skip to content
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

When using request mappings at the type-level like /hotels/*, it should be possible to define a controller handler method for the root like /hotels [SPR-4494] #9172

Closed
spring-projects-issues opened this issue Feb 25, 2008 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Feb 25, 2008

Keith Donald opened SPR-4494 and commented

Currently, only doing something like @RequestMapping("/index") at the method level is supported (requestUri = /hotels/index). I would have thought @RequestMapping with no value would be the handler for the root, e.g requestUri=/hotels.


Affects: 2.5.1

Issue Links:

1 votes, 2 watchers

@spring-projects-issues
Copy link
Collaborator Author

Arjen Poutsma commented

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants