The javax.com and javax.comm.http are packages of Source files that have been compiled and placed in a directory called the CLASSPATH. That directory is where the Java Virtual Machine looks when it tries to 'import' something. You have to find out where your classpath is, and then put the Oreilly stuff in that directory.
--Monte Glenn Gardner On Thu, 29 Nov 2001, ken dias wrote: > I am trying to get the concept of packages. The concept of packages is not > fully explained in the book Java Servlet Programming by Jason H. I tried the > ex. Guestbook in Chapter 9 but for some reason, it does not complile as it > does not import com.oreilly.CacheHttpServlet. However it has no problem > importing javax.com and javax.comm.http. Now all 3 are packages so why does > it not import com.oreilly.CacheHttpServlet? > > Thanks > > Ken > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > ___________________________________________________________________________ > 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
