Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 19th, 2005, 03:23 AM
Registered User
 
Join Date: Jul 2005
Location: bangalore, , India.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default java and jsp

how to get the date and time to enter in to database without entering through the interface.in my case i want to add a book reservation to a database .i.e..

get the reserve date added. then to add the cancel date. where cancel date=reserve date +5 days.how to declare date types for this ..
i'm a novice to java and jsp.


Reply With Quote
  #2 (permalink)  
Old August 6th, 2005, 05:15 PM
Friend of Wrox
 
Join Date: Oct 2003
Location: Portsmouth, Hampshire, United Kingdom.
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default

Hiya,

you can use the Calendar class in Java.util.*. It has many ways of getting the date. Does this help.... It's got static methods so no need to instantiate the class in order to use them.



Adz - The World is not enough
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax + Java (Jsp) nigam.anand BOOK: Professional Ajax ISBN: 978-0-471-77778-6 6 January 18th, 2007 12:19 PM
jsp/java tomcat and mysql harshika JSP Basics 1 August 8th, 2005 03:01 PM
java/jsp and MySQL harshika Java Databases 2 August 2nd, 2005 02:07 AM
i am new in java and JSP...pls help! frankiepoon JSP Basics 0 August 18th, 2003 08:51 PM
problem in loading .java with JSP seongheng JSP Basics 1 July 30th, 2003 11:05 AM



All times are GMT -4. The time now is 05:48 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.