problem compiling servlet

I have IIS5 and Jrun and jdk1.3.1. Im trying to compile a basic servlet for the first time....

I get errors regarding the Http....here is the code.....

import java.io.*;

import javax.servlet.*;

import javax.servlet.http.*;

public class HelloWorld extends HttpServlet {

public void doGet (HttpServletRequest request, HttpServletResponse response) throws

ServletException, IOException

{

PrintWriter out = response.getWriter();

out.println("<HTML>");

out.println("<HEAD>");

out.println("<TITLE>");

out.println("An HTML Hello World");

out.println("</TITLE>");

out.println("</HEAD>");

out.println("<BODY>");

out.println("<H1>Hello World</H1>");

out.println("</BODY>");

out.println("</HTML>");

}

}

[913 byte] By [wdewerff] at [2007-9-26 2:34:55]
# 1
you need to have the servlet.jar or the equi in JRun in your CLASSPATH to compile.If you have this, then could you pl.give us more details on what errors you are getting....HTH- madhav
mlakkapr at 2007-6-29 10:00:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
doGet does not throw IOException in the super class method that you are overriding. You cannot change the signature of a method in inherited class.What you need to do is create a try catch block to deal with using the output stream.
bobd3 at 2007-6-29 10:00:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
I didnt find the servlet.jar in the Jrun dir. I'm still a newbie obviously so any more help either of you can give would be appreciated. ThanksBTW, the code is taken from the book JSP Weekend Crash Course, so if the code is wrong then I dont know how to fix just yet.
wdewerff at 2007-6-29 10:00:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
cannot resolve symbol> HttpServlet
wdewerff at 2007-6-29 10:00:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...