Perfect, it works, i'll get the Tomcat welcome page.
Now i have another issue: when calling javac from my project directory (i'm doing Head First JSP/Servlets) to compile a
Servlet, javac tella me it can't find the servlet classes:
src\Ch1Servlet.java:1: package javax.servlet does not exist
import javax.servlet.*;
^
src\Ch1Servlet.java:2: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
src\Ch1Servlet.java:5: cannot find symbol
symbol: class HttpServlet
public class Ch1Servlet extends HttpServlet {
^
src\Ch1Servlet.java:6: cannot find symbol
symbol : class HttpServletRequest
location: class Ch1Servlet
public void doGet (HttpServletRequest request,HttpServletResponse response) throws IOException
^
src\Ch1Servlet.java:6: cannot find symbol
symbol : class HttpServletResponse
location: class Ch1Servlet
public void doGet (HttpServletRequest request,HttpServletResponse response) throws IOException
^
5 errors
What can i do? Tomcat should include these classes as they are part of the servlets. Btw.: I've installed Tomcat with the Zip version for Windows.