java.util.Date / string issue in JSP file
My texts for JSP/JSTL do not get here until probably Monday, but this is the only project that I've got going on right now. I have a value, currently held in a string, that I need to parse into the standard java.util.Date elements (ie x.date, x.year, x.month, x.hours, x.minutes, x.seconds). The sun documentation is showing me some things that might be useful, but 90% of it is depreciated.
Can someone tell me a quick and simple way to take a string value of the fomatting: "2008-07-11 15:30:00.0" and break it down into a java.util.Date element x with the previously mentioned attributes?
We've got java.util.Date beans defined in this code, but until my documentation gets here (hopefully tomorrow and not Monday), I really don't know how to make any of the beans do what I want with this string.
Anything you can enlighten me on in this situation would be very much appreciated.