this is the error when i try to compile a servlet using javac -g servlet
Compiling C:\java\c05\SimpleServlet.java
Command line: "E:\jdk1.3\bin\javac.exe" -g "C:\java\c05\SimpleServlet.java"
The current directory is: C:\java\c05
C:\java\c05\SimpleServlet.java:1: package javax.servlet does not exist
import javax.servlet.*;
^
C:\java\c05\SimpleServlet.java:2: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
C:\java\c05\SimpleServlet.java:3: cannot resolve symbol
symbol : class HttpServlet
location: class SimpleServlet
public class SimpleServlet extends HttpServlet
^
C:\java\c05\SimpleServlet.java:8: cannot resolve symbol
symbol : class HttpServletRequest
location: class SimpleServlet
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com