Try implementing the methods init, doGet and doPost from
the baseclass :-)
/
MN
> -----Original Message-----
> From: :-:= Koshy Kerteya :-=:- [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 23, 2001 18:24
> To: [EMAIL PROTECTED]
> Subject: The Basic Qn
>
>
> Well, here's a basic question
>
> public class HelloServlet extends HttpServer {
>
> HelloServlet() {
> String alpha = new String("Alpha");
> System.out.println("invoked!!");
>
> }
> //rest of the codes
> }
>
> I thought that I would get "invoked"!!! for each thread (upon
> each request)
> Apparently no, ....so that means only 1 instance is ? and
> threads came from
> this instance...?
> I looked up JH's book (1st edition) and couldnt really find a
> satisfactory
> answer...
>
> thanks for any help on this :)
>
> Regards
> LSc
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html