-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Improve Redirect after POST (with validation errors) [SPR-13768] #18342
Copy link
Copy link
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
Description
smallufo opened SPR-13768 and commented
I think Redirect after POST (with validation errors) is a very common scenario in every web framework. But I find SpringMVC solves it in an especially cumbersome way.
Take the example in this link : http://stackoverflow.com/a/23749112/298430
Look how many "register" repeats in the code ( I count 5 ) , and it is String , not type safety.
It is against the DRY pattern.
Is it possible to eliminate such cumbersome ?
Affects: 4.2.3
Reference URL: http://stackoverflow.com/a/23749112/298430
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement