Skip to content

Form tag should prepend the contextPath and servletPath if not present [SPR-8684] #13326

Closed
@spring-projects-issues

Description

@spring-projects-issues

Angel opened SPR-8684 and commented

Rossen,

in order to have this functionality available and be backward compatible at the same time could be having two additional paramters in the form tag:

<form:form method="post" action="/registration/submit" commandName="registrationForm" resolveContext="true" resolveMapping="true">
  ...
</form:form>

If you agree I am happy to implement :-)

Cheers.


Affects: 3.1 M2

Reference URL: https://jira.springsource.org/browse/SPR-8638

Issue Links:

Referenced from: commits ad025b5

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