spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
55.3k stars 37.62k forks source link

MultiActionController to generate HTTP 404 on non-existing method [SPR-237] #4968

Closed spring-projects-issues closed 19 years ago

spring-projects-issues commented 19 years ago

Andreas Schildbach opened SPR-237 and commented

A non-existing method should result in a HTTP 404 error response (or use the Servlet error page mechanism for customizing the error response). This would be consistent with the rest of the framework (non existing handler in general results in a 404).

Any NoSuchRequestHandlingMethodException should be hidden from the user.


Affects: 1.0.2

spring-projects-issues commented 19 years ago

Juergen Hoeller commented

Good point: I've just adapted MultiActionController accordingly. Thanks for reporting this!

Juergen