Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to conver util.date into java.sql.date

843842Oct 25 2009 — edited Oct 26 2009
hi,

i have two fields into database start date and end date ,

There is a link provided on jsp as "Activate".

When user clicks on "Activate" link , the date should be inserted as follow :

start date = current date

end date = one year more than current date .

i applied certain methods but didn't succeed , please help me out

database is mysql.

Thanks in advance ...

Edited by: pankajjain15 on Oct 25, 2009 4:46 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2009
Added on Oct 25 2009
5 comments
224 views