Is the class you're compiling in the same directory as the support class the compiler couldn't find? if it is then I don't think you need the import statement, it should be recognised.
Marty Hall (core servlets and JSP) recommends using a little bat or shell script to automate compiling you might find useful if you're compiling in a few different directories for different projects. you can find it here: http://archive.coreservlets.com/ scroll down to servletc-tomcat.bat, theres a couple of other versions there too. They are just windows ones, but you could do a shell one easy enough. Just thought it might help : ) cheers, Paul > -----Original Message----- > From: Ashur M. Albertson [mailto:[EMAIL PROTECTED]] > Sent: 02 October 2001 17:06 > To: [EMAIL PROTECTED] > Subject: Re: Instantiation Problem > > > Okay, I tacked my working directory onto the end of my > CLASSPATH variable > and everything compiles fine (there are no more problems with > finding other > classes). > > I realized, however, that all compiling I've done in the past > has been done > without any CLASSPATH definition. Now, it's as if the > compiler no longer > knows to look in the working directory for other classes, but > only in the > directories defined by CLASSPATH. Do I have to specify every single > directory I may be working in? > > Thanks, > Ashur > > ______________________________________________________________ > _____________ > 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
