File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Nov 06, 2003
Aug 02, 2005 12:16:00
Has Anyone used the format attribute to format time?
In Jsp page
<bean:write property = "time" name = "List" format=""/>
I am able to display time as hh:mm:SS(13:30:45)
but I wanted to format as 13:30:45 PM or AM.
Please let me know how to format...
Thanks in advance.........
Joined: Feb 15, 2005
Aug 02, 2005 12:28:00
for date and time formatting. Here is a link to the API documentation that explains the symbols.
I agree. Here's the link:
subject: bean:write format
all caught up on nitpicking
bean:write formatKey tag
<bean:write/> of struts1
problem starting the tomcat4
Time in 24 hrs or AM/PM
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014