You kight want to get some decent example code,then edit that to get you
started. If you have either of the O'Reilly books (servlet programming or
JSP) then download thier example code. The JSP code certainly works just by
unpacking under tomcat. You can then just edit/view thier simple examples to
start getting to know it.
For basic Java tutorial, Bruce Eckels has an online book called Thinking In
Java - which you can download for free.
sam
----- Original Message -----
From: "Purcell, Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 10:21 PM
Subject: Code Q.
> Hello,
> I am learning JSP and have done quite a few examples from the Core
Servlets
> and JSP book.
> I apologize for asking this q here, but I am trying to learn Tomcat and
put
> my whole picture together, and I figured that
> the people on this line, would probably know what these lines mean.
> Anyway, I keep typing these few lines but really don't have a grasp of
what
> they are doing.
> I would really like to understand in a 'Laymans' fashion what I am doing
and
> what these lines do.
> public class Hello extends HttpServlet {
> //I am assuming that the class Hello, that I am creating
> // is extending HttpServlet class?
> // but what does the extends really mean?
> public void doGet(HttpServlet request,
> HttpServlet response)
> throws ServletException, IOExcedption;
> // It looks like I am creating? or calling? a method here. And am I
passing
> it the HttpServlet class?
> I am very confused on this, and would enjoy hearing from someone that
> wouldn't mind going over that with me.
> Thanks very much,
> Sincerely
> Scott
>
>
>