Closed
Description
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:
- Prepend contextPath in form tag [SPR-6944] #11609 Prepend contextPath in form tag ("duplicates")
- Allow links to @Controller methods from views without hardcoding URLs [SPR-5779] #10449 Allow links to
@Controller
methods from views without hardcoding URLs - Form tag prepending context/servlet path breaks use for portlets [SPR-10382] #15015 Form tag prepending context/servlet path breaks use for portlets
Referenced from: commits ad025b5