Question on Issue with fmt:formatNumber tag of jstl
843840Oct 31 2007 — edited Oct 31 2007Hi,
We have a web application that uses struts framework. In the action class,i am setting an attribute of request object like
request.setAttribute("Val",new Double(11.25489));
I am using jstl fmt:formatNumber function in the jsp page to format the value to 2 decimal places.
<fmt:formatNumber value="${Val}" maxFractionDigits ="2" />
When i access the jsp page,there is no display of anything.
If i access using <c:out value="${Val}"/> ,it does print the value.
Interestingly,tomcat does not generate any corresponding java file in its work area.
Any clues...anybody ?
Edited by: gbhakta on Oct 31, 2007 12:23 PM