Are there any good examples on how to handle Dates correctly? I had several "issues" with dates at the moment, and I'm "hoping" there is some easy way to handle it all that I have overlooked.
1) Whats the best way to accepts dates from a form on a JSP page? At the moment, I am using an <input type="text"> tag and then manually converting it into a CCYYMMDD format and then converting it AGAIN into a DD-MMM-CCYY format to save it to my database (Oracle).
2) Also, how do you compare two dates with the Calendar class? I tried the equals method, put found that it compares the Object, not the actual date :(
Thanks in advance for any and all help :)