Hi all

my Servlet uses JDBC and I want to use java.util.Date but

when I have

import java.sql.*;
import java.util.*;

and use Date rightnow = new Date();

I get the error

Error: (67) reference to Date is ambiguous; both class java.util.Date in
package
java.util and class java.sql.Date in package java.sql match

how do I get it to use the java.util.Date class without specifying all the
java.sql.* classes
individually.

thanks for any help

Alan Boldock
The University of Adelaide



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to