for date u can use <s:date />

and more common usage can be refer at
http://struts.apache.org/2.1.2/docs/formatting-dates-and-numbers.html

if u are using freemarker, it will be more flexible with ftl syntax.

nestorjb wrote:
> 
> Hi
> 
>  
> 
> Isn’t there a way to apply formatting of number and dates in Struts 2 at
> the
> JSP level?. I need to conditionally format a number depending on a
> condition. Isn’t there an equivalent in Struts 2 for JSTLs
> <fmt:formatNumber
> />???
> 
>  
> 
> Regards,
> 
>  
> 
> Néstor Boscán
> 
> 
> 


-----
Blog: http://www.ryanwong.name
Can Use: English, Chinese
-- 
View this message in context: 
http://www.nabble.com/Formating-in-Struts-2-tp20159341p20161075.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to