Skip to content

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

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions