This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
TestDispatcherServlet1.java:4: package javax.servlet does not exist import javax.servlet.*; TestDispatcherServlet1.java:5: package javax.servlet.http does not exist import javax.servlet.http.*; can anyone tell me what is wrong with it? -Newbie-
Hi Chris, servlet.jar is in: %Tomcat%\lib (Tomcat 3.2) %Tomcat%\common\lib (Tomcat 4.0) In Windows you change your Classpath variable simple with: Set Classpath=%Classpath%;C:\tomcat\lib\servlet.jar;. (in my case using the Tomcat3.2 which is in C:\tomcat) You may check your class variable by typing set in the Dos-Console. Axel