Hi Lingaraj,
Here are a couple of things to do with Date classes. First your dates are
declared as java.sql.Date yourDate; You can get the value of the date like
this: someDate = java.sql.Date.valueOf(dateString); Different databases
store dates in different ways, check your doumentation on this. I usually
just store my dates as strings, for me they are easier to work with in my
servlets using the SimpleDateFormat class.
Hope this helps,
Tom Kochanowicz
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Clint
Heyer
Sent: Wednesday, December 01, 1999 3:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Storing Numeric and Date fileds in Database
At 02:08 1/12/99 +0530, you wrote:
>Hi Team
>
> Could some one give me some information how
to
>store date and numeric fields in a database from a HTML page through a
>servlet. So far I know get.Parameter () method gets the stings..
>
>Any urget help would be highly appeciated..
>
>Thanks
>Lingaraj
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
Why can't people consult online resources, and use mailing lists as a last
resort? The answer for this, and many other questions are already
'out-there'!
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html