A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
<bean:write/> of struts1
Joined: Apr 13, 2010
Apr 13, 2010 01:03:03
I used the attribute format of <bean:write/>,I want to format the date,but when the date is null,it will format the system time,why???
Joined: Mar 19, 2008
Apr 16, 2010 04:07:57
Hi Gifeng sun,
Welcome in Java ranch community. Please check out this post.
God Gave Me Nothing I Wanted, He Gave Me Everything I Needed.
I agree. Here's the link:
subject: <bean:write/> of struts1
How to change date format using struts bean:write tag ?
bean:write - format key
Bean:write + formatting dates
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014