Use struts formatting tags
<%@ taglib uri="http://java.sun.com/jstl/fmt"; prefix="fmt" %>

----- Original Message ----- From: "Sekhar, Raja" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, October 16, 2007 9:11 AM
Subject: S:property converts string to rounded int



Hi Group
I am having a small issue with <s:property value="response.mtm"
/> .
say
if mtm = "215667.20" then
from the JSP I get a value of 215667.2,

similarly if
mtm = "0.00" I get a value of 0 from the
rendered jsp.
How do I disable this auto conversion from string to int
?

I am using 2.0.8. Kindly help.

Thanks
Raja
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to