Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
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.

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


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

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

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.