<c:out value="${variable}"/> form formBackingObject returns nothing
Just a quick question.
I have a formBackinObject that populates a variable ie pCount
In my JSP I have a <form:hidden path="pCount"> that gets properly populated and generates proper HTML
Code:
<input id="pCount" name="pCount" type="hidden" value="2"/>
which is exactly what I set it to in the formBackingObject.
However, later in the JSP I try to retrieve pCount value with
Code:
<c:out value="${pCount}"/>
but that returns an empty string.
How do I get the number in pCount?