you will also need jsdk23.jar in your CLASSPATH Pritpal Dhaliwal
-----Original Message----- From: Eric Strain [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 10:48 PM To: [EMAIL PROTECTED] Subject: RE: new tomcat user Hi: thanks for the reply, I added the servlet.jar file to my JAVA_HOME\lib environment variable and rebuilt the file, I've also tried adding the servlet.jar file to my classpath and I still get the following errors searchlogic.java:2: Package javax.servlet not found in import. import javax.servlet.*; ^ searchlogic.java:3: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ searchlogic.java:5: Superclass HttpServlet of class SearchLogic not found. public class SearchLogic extends HttpServlet { ^ searchlogic.java:5: Public class SearchLogic must be defined in a file called " SearchLogic.java". public class SearchLogic extends HttpServlet { ^ 4 errors any ideas??? >From: "Pritpal Dhaliwal" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Subject: RE: new tomcat user >Date: Wed, 31 Oct 2001 19:01:21 -0800 > >you are missing servlet.jar from your CLASSPATH. >You could either add it in the CLASSPATH. or you could put it the >JAVA_HOME/lib/ and it will be picked up next time you compile your java >files. > >There is a really nice Java IDE called JCreator. Its looks a lot like >Microsoft Visual tools. In JCreator you could make list of your .jar files >and included them into whatever project you want. When you compile with >JCreator those .jar files are automatically included in your CLASSPATH. >This keeps you away from cluttering your CLASSPATH. > >Its free also. check it out www.jcreator.com > >Regards, > >Pritpal Dhaliwal >-----Original Message----- >From: Eric Strain [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, October 31, 2001 2:33 PM >To: [EMAIL PROTECTED] >Subject: new tomcat user > > >Hi: >I'm new to tomcat, does anyone here know where tomcat looks for the >javax.servlet package when building the servlets? I run TC from the command >line as >C:\jdk11.8.3>javac.exe MyProgram.java > >and TC can't find the javax.servlet packages from >import javax.servlet.*; and >import javax.servlet.http.*; any help is appreciated thanks. > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
