tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry White" <barrywh...@charter.net>
Subject Re: A servlet which has no mapping?
Date Tue, 16 Oct 2001 15:48:30 GMT
Dr.

Yes... but it will only access EVIL pages.
lol
=)
----- Original Message ----- 
From: "Dr. Evil" <drevil@sidereal.kz>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, October 16, 2001 5:07 AM
Subject: A servlet which has no mapping?


> 
> Hi, I have a question for all the Tomcat experts:
> 
> I am creating a servlet class which extends HttpServlet, but it will
> only implement the init() and destroy() methods.  It won't have a
> doGet() or any other do*() method.  Its only purpose it to set up a DB
> connection pool for use by the custom tag libs.
> 
> Because this servlet has no doGet() method, does that mean it can
> never be accessed as a page?  Or is there something I should do to
> block that?  Or should I create a doGet() method which just returns an
> error?  Or is there some better way to initialize my application?
> 
> Thanks
> 


Mime
View raw message