Hello there,
I am new to
J2EE. I did install
Tomcat 5.5 and
JAVA 1.5. And was
testing out my first
servlet. And I am lost. I have no idea where to start/look for. The error that I am getting while compilation of first servlet program are as follows:
---------------------
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\myApp\WEB-INF\cla
sses>javac HelloWorld.java
HelloWorld.java:4: package javax.servlet does not exist
import javax.servlet.*;
^
HelloWorld.java:5: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
HelloWorld.java:13: cannot find symbol
symbol: class HttpServlet
public class HelloWorld extends HttpServlet {
^
HelloWorld.java:14: cannot find symbol
symbol : class HttpServletRequest
location: class hall.HelloWorld
public void doGet(HttpServletRequest request,
^
HelloWorld.java:15: cannot find symbol
symbol : class HttpServletResponse
location: class hall.HelloWorld
HttpServletResponse response)
^
HelloWorld.java:16: cannot find symbol
symbol : class ServletException
location: class hall.HelloWorld
throws ServletException, IOException {
^
6 errors
------------------------------------------------
any help is greatly appreciated.
Thanks
VJ