duke,

the compiler is just trying to tell you that it doesn't know which class
you're trying to use.  just specify which class you want in the statement
itself (the import statement isn't enough)

i.e.,

java util.Date...
or
java.sql.Date...

as opposed to Date() by itself...

hope this helps,
paul

-----Original Message-----
From: Duke Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 23, 1999 3:49 PM
To: [EMAIL PROTECTED]
Subject: class conflict


hi,

one of my servlets uses a database.  inside the servlet I am trying to use
the Java.Util.Date class but when i compile i receive an error saying
conflict between Java.Util.Date and Java.SQL.Date.  I do not use
Java.SQL.Date, however, i do use other classes within the Java.SQL package.

Duke

___________________________________________________________________________
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

Reply via email to