I’m trying to inject webapproot value into spring form like this
<form:form action="${webappRoot}/user/create" commandName="createUsr" method="POST">
However this doesn’t work. So for now this works instead :
<form:form action="/Manual/user/create" commandName="createUsr" method="POST">
My application name is Manual so it works in second case.
Try
${pageContext.request.contextPath}