I am working on the front end of a jsp based app. We're using spring running on weblogic.
I have a page with a form that submits to itself and I am trying to access the values of hidden fields that I set with javascript.
<form method="post">
<input type="hidden" name="choosenDateFrom" value="test1" />
<input type="hidden" name="choosenDateTo" value="test2" />
.... more code
However when I use the code on the same page:
<c:choose>
<c:when test="${param.choosenDateFrom!=null}">
<c:out value="${param.choosenDateFrom}" />
</c:when>
</c:choose>
The params are not shown on the page. What am I missing? I though this is the standard way of doing this.
Could it be that since we are using a MVC framework I can't pass params around like this?