but I have already set my classpath to C:\Program Files\apache tomcat\apache-tomcat-5.5.25\common\lib
But still I get the compiler error that package javax.servlet.* is not found. Please help me.
I have another question- I installed TOMCAT properly, set environment variable JAVA_HOME and TOMCAT_HOME as required , started the Tomcat but when I point my browser to http://localhost:8080/ to see the Tomcat welcome page, I get error - The page cannot be found
what to do? [ January 30, 2008: Message edited by: prajal Mehta ]
I must have messed up the installation of Tomcat previously. 1.Now I reinstalled the Tomcat 2. I set up the JAVA_HOME , CATALINA_HOME to required locations. 3. I started the Tomcat. 4. I set the CLASSPATH variable to --> %CLASSPATH%;C:\Program Files\apache tomcat\apache-tomcat-5.5.25\common\lib\servlet-api.jar
Everyone has assumed that you are not using Eclipse because: 1) For studies it is recommended to not use an IDE... at least to start out 2) You never said you were using it.
If http://localhost:8080/ is not working, then Tomcat simply isn't working or you're trying to run an instance of it from within Eclipse. I'm pretty sure that the default applications that come with Tomcat do not run if you are running Tomcat from within Eclipse.
A good workman is known by his tools.
This cake looks terrible, but it tastes great! Now take a bite out of this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners