I recently upgraded Spring framework from 3.1.2 to 4.1.1. Also upgraded to Tomcat 8 and Java 8. I am also using Tiles 2.2.2.
My web page loads fine using Spring 4 and problem comes when I do a form submission. The URL request changes and leaves out the webapp name.
For e.g., when I do a form submission, the URL that is expected is supposed to be http://xx.xx.xx.xx/webappname/createuser/submit.
But the URL changes to http://xx.xx.xx.xx/createuser/submit. And thus, throws a "Requested resource is not available " error.
I did not have this problem when I was using Spring 3.1.2, Tomcat 7, Java 7.
May I know what I am missing?
Thank you, Whiskers
EDIT :
My jsp view goes like
<form:form method="post" action = "/createuser/submit" commandName = "createForm" >
.....
< /form>