[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ProgSoc] Java Servlet Compiling problems



Hey Guys,

I've been trying to compile a little HelloWorld program into a servlet on a 
WinNT system. I keep getting the following errors:

symbol  : class HttpServlet
location: class HelloWorld
public class HelloWorld extends HttpServlet
                                ^
HelloWorld.java:7: cannot resolve symbol
symbol  : class HttpServletRequest
location: class HelloWorld
        public void doGet(HttpServletRequest request, HttpServletResponse respon
se)
                          ^
HelloWorld.java:7: cannot resolve symbol
symbol  : class HttpServletResponse
location: class HelloWorld
        public void doGet(HttpServletRequest request, HttpServletResponse respon
se)
                                                      ^
HelloWorld.java:8: cannot resolve symbol
symbol  : class ServletException
location: class HelloWorld
                                                throws ServletException, IOExcep
tion
                                                       ^
6 errors

Note, I couldn't get the whole thing cos NT doesn't scroll and >> didn't work.

It looks like it can't find the necessary files but I don't know what I could 
have done wrong. I installed the SDK. I set up the path so it points to jdk1.4.0
\bin. Is there a configuration step I've forgotten?

Paul

-
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.