java.util.Date dateActual = new java.util.Date();
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Ramos
> Miguel-FMR068c
> Sent: Saturday, May 05, 2001 3:26 PM
> To: [EMAIL PROTECTED]
> Subject: Reference to Date is ambiguous?
>
>
> Hi all,
>
> I am having the following problem:
>
> "giDefects.java": Error #: 304 : reference to Date is ambiguous;
> both class
> java.sql.Date in package java.sql and class java.util.Date in package
> java.util match at line 50, column 5
>
> On my import section I have:
>
> import javax.servlet.*;
> import javax.servlet.http.*;
> import java.io.*;
> import java.util.*;
> import java.sql.*;
>
> I need both packages: util.* for servlets
>
> And I am creating the object like this:
>
> Date dateActual = new Date();
>
> How can I fix this problem?
>
> Thanks in advance.
>
> Miguel
>
> __________________________________________________________________
> _________
> 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