It worked, but how comes I have to use classpath now and not when I used to do it before ? is there any way of overcoming this ? Typing up CPs' in command line takes too much time.
2009/2/2 Caldarale, Charles R <chuck.caldar...@unisys.com> > > From: Shaolin [mailto:shaolinfin...@gmail.com] > > Subject: Re: package javax.servlet does not exist import > > javax.servlet.* ; > > > > > You'll need to tell javac (or whatever IDE you're > > > using) where the servlet-api.jar is. > > > > How do I do that ? > > For javac, use the -cp parameter; for any IDE, you'll have to consult its > documentation. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >