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 How to store datetimepicker value into database 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 "How to store datetimepicker value into database" Watch "How to store datetimepicker value into database" New topic
Author

How to store datetimepicker value into database

Mahendran Aiyappan
Ranch Hand

Joined: Sep 05, 2005
Posts: 102
Hi guys,

I have the following code


If you note it is having two datetimepicker one for Date and one for Time.
I am having a bean schedule.startTime is a Timestamp. I need to store in the table. I never used datetimepicker before.

Give me your suggestions.

Thanks
Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
Ahhhhh take it in as a String, convert it to a date/time and persist it to the db?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to store datetimepicker value into database
 
Similar Threads
datetimepicker
Dojo datetimepicker issue in Struts2.2.3.1
Time is retreiving from the Database to datetimepicker
Struts2: Can datetimepicker be used in a plain form.
datetimepicker in struts2