This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I'm pulling a date out of a SQL Server database to display on a JSP, but the format isn't terribly user friendly. It looks like the following: 2006-07-19 00:00:00.0. I'd like it to look more like: July 19, 2006. I think <fmt:parseDate> will do the job, but I'm a little unclear on its use. I thought the following was what I needed:
This doesn't work, however. I also looked at <fmt:formatDate>, but it looks as though that only works with the java.util.Date data type. Can someone give me some direction? [ March 15, 2006: Message edited by: Craig Dixon ]