on 09-04-2017 3:57 PM
Here in my scenario we are migrating from hybris 5.3 to 6.3.
I have a variable submitAction and /registration/createcustomer is a value assign to it.
This submitAction variable assign to action of form:form tag.
here the problem is ": POST" string getting appended to action URL for form:form tag after page render.
In the JSP file code looks like this.
<c:url value="/registration/createcustomer" var="submitAction" />
<form:form class="registrationB2b" method="POST" commandName="fmdata" id="registrationB2b" name="registrationB2b" action="${submitAction}" enctype="multipart/form-data">
After page render in browser code looks like this
<form id="registrationB2b" name="registrationB2b" class="registrationB2b" action="/fmstorefront/federalmogul/en/USD/registration/createcustomer : POST" method="POST" enctype="multipart/form-data"><input type="hidden" id="technicianType" name="technicianType" value="Warehouse Distributor Light Vehicle">
<button id="regsubmit" class="btn btn-sm btn-fmDefault text-uppercase registrationBtns" type="submit">Submit</button>
</form>
Does any one came across this?
Any help would be really appreciated.
Thank you
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.