hi,
u can use <bean:write to format dates and numbers.
for ex. u have action form
private Date date1;
if u want to format that using bean:write
<bean:write name="form" property="date1"
format="MM/dd/yyyy"/>
this renders the date using that format(simpledate format)
if u want this format from application resouces , use formatkey which
will get the value from the resources.
--nagi
-------Original Message-------
Date: Tuesday, July 15,
2003 02:57:30 PM
Subject: How to use
Hi , Can anybody let me know how to use "bean:write"
for formatting the text.
What is the difference between format /
formaKey in Bean:write attributes ?
What are all the valid message
format texts that I can use in ApplicationResourse.
Kishore Kumar
K Covansys India Pvt Ltd *:- [EMAIL PROTECTED] *:-
91-44-22628080-6877
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
. |