if your servlet also resides in the default-package you don't need to import your CCMsg class.
markus Frank Welch wrote: > I am having trouble compiling my servlet under Windows. It works when I > compile the same code under Linux, but Windows gives me an error. > > > > Here are my import statements: > > > > > > import java.io.*; > > import java.text.*; > > import java.util.*; > > import javax.servlet.*; > > import javax.servlet.http.*; > > import org.xml.sax.SAXException; > > import org.xml.sax.InputSource; > > import CCMsg; > > > > The last statement gives me an error: > > [javac] c:\simple\src\CCServlet.java:8: '.' expected > > [javac] import CCMsg; > > [javac] ^ > > It *seems* like javac is asking me to create a "package" but I want all > of my classes to be in root so I do not want to create a package. > > > > Thanks for any hints! > > > > Frank > ___________________________________________________________________________ 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
