variables path & classpath
Hello
i'm using tomcat 5.x -> 5.5.12
and editor: Textpad
when compiling: these are the errors:
C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:3: package javax.servlet does not exist
import javax.servlet.*;
^
C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:4: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:11: cannot find symbol
symbol: class HttpServlet
public class Controller extends HttpServlet
^
C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:13: cannot find symbol
symbol : class HttpServletRequest
location: class Controller
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
^
C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:13: cannot find symbol
symbol : class HttpServletResponse
location: class Controller
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
^
C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:13: cannot find symbol
symbol : class ServletException
location: class Controller
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
^
C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:64: cannot find symbol
symbol : class HttpServletResponse
location: class Controller
private void sendPage(HttpServletResponse reply, String s_Resultaat) throws IOException
^
C:\Documents and Settings\Michelle & Bastiaan\Bureaublad\261139bl\Controller.java:16: cannot find symbol
symbol : class HttpSession
location: class Controller
HttpSession session = request.getSession();
^
.\DBConnection.java:10: package javax.servlet does not exist
import javax.servlet.*;
^
.\DBConnection.java:11: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
10 errors
these are my user variables:
JAVA_HOME C:\Program Files\Java\jdk1.5.0_12
TEMP %USERPROFILE%\Local Settings\Temp
TMP%USERPROFILE%\Local Settings\Temp
these are my system variables:
CLASSPATH.;C:\Program Files\Java\jdk1.5.0_12\lib\tools.jar;apache-tomcat-5.5.23/common/lib/servlet_api.jar
ComSpec %SystemRoot%\system32\cmd.exe
FP_NO_HOST_CHECKNO
NUMBER_OF_PROCESSORS1
OS Windows_NT
PathC:\Program Files\Java\jdk1.5.0_12\bin;apache-tomcat-5.5.23/bin
PATHTEXT.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTUREx86
PROCESSOR_IDENTIFIER x86 Family 15 Model 2 Stepping 4, GenuineIntel
PROCESSOR_LEVEL15
PROCESSOR_REVISION0204
TEMP C:\WINDOWS\TEMP
TMPC:\WINDOWS\TEMP
windirC:\WINDOWS
can somebody help me?
gr. Bastiaan
The Netherlands

