This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes <bean:write/> of struts1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "<bean:write/> of struts1" Watch "<bean:write/> of struts1" New topic

<bean:write/> of struts1

qifeng sun

Joined: Apr 13, 2010
Posts: 1
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???
Fidel Edwards
Ranch Hand

Joined: Mar 19, 2008
Posts: 231
Hi Gifeng sun,

Welcome in Java ranch community. Please check out this post.

bean:write format

God Gave Me Nothing I Wanted, He Gave Me Everything I Needed.
I agree. Here's the link:
subject: <bean:write/> of struts1
Similar Threads
Bean:write + formatting dates
How to change date format using struts bean:write tag ?
bean:write datetime
bean:write - format key
Date formats