Skip to content

Improve Redirect after POST (with validation errors) [SPR-13768] #18342

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions