salam kenal semuanya ...dan mohon bantuan, kemarin aku coba untuk import java.util.* dan java.sql. * deklarasinya seperti ini <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.util.*,java.sql.*" errorPage="" %> <html> <head> tapi muncul error sbb : reference to Date is ambiguous, both class java.sql.Date in java.sql and class java.util.Date in java.util match Date date = new Date (); ^
semula aku mengira di java.sql.Date terdapat Date lalu aku buang java. util.* dan hsl errornya spt ini cannot find symbol symbol : constructor Date() location: class java.sql.Date Date date = new Date (); ^ di mana ya letak kesalahannya ? trims ---------------------------------------------------------- Komunitas MasterWeb Indonesia http://www.master.web.id ---------------------------------------------------------- MWN, Masternya WEBHOSTING di Indonesia, Indo/USA Servers, Customer Support 24 jam http://www.masterwebnet.com ---------------------------------------------------------- WebDevelopment,Designing/Programming http://www.dlanet.com ---------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/milis-masterweb/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
