hi vicky tomcat includes a webs server as well. as i said i can already run precompiled servlets but i cannot compile servlet apps pratik ----- Original Message ----- From: "Vicky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 12:39 PM Subject: Re: servlet classes not being recognized? > if i am not wrong, dont u need a java web server to run on servlets, since > servlets are executed on the server > > i might be wrong ... > > vicky > > > ----Original Message Follows---- > From: Pratik <[EMAIL PROTECTED]> > Reply-To: Pratik <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: servlet classes not being recognized? > Date: Mon, 14 Aug 2000 12:20:31 +0800 > > hi > i have installed tomcat3.1 & jdk1.3 in Win98. > i can run precompiled servlets using tomcat. > but when i try to compile a servlet app using javac none of the servlet > classes r bing recognized? > a typical error line reads like this - > > C:\myapp\src\Hello.java:66: cannot resolve symbol > symbol : class ServletException > location: package servlet > import javax.servlet.ServletException; > > my autoexec.bat file looks like this - > SET PATH=%PATH%;C:\JDK1.3\BIN;C:\TOM\BIN; > SET JAXPHOME=C:\Program Files\JavaSoft\Jaxp1.0.1 > SET CLASSPATH=%JAXPHOME%\JAXP.JAR;%JAXPHOME%\PARSER.JAR > SET CLASSPATH=%CLASSPATH%;.;C:\TOM\BIN;C:\TOM\LIB\SERVLET.JAR; > SET CLASSPATH=%CLASSPATH%;C:\TOM\LIB\WEBSERVER.JAR;C:\TOM\LIB\JASPER.JAR; > SET CLASSPATH=%CLASSPATH%;C:\TOM\LIB\ANT.JAR;C:\TOM\LIB\XML.JAR > SET TOMCAT_HOME=C:\TOM > SET JAVA_HOME=C:\JDK1.3 > > can anyone please guide me on what i am missing? > > thank you > > pratik > > ___________________________________________________________________________ > 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 > > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > ___________________________________________________________________________ > 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
