You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lu, Spencer" <sl...@spaceworks.com> on 2001/04/17 01:26:13 UTC

How to execute a class on startup (Tomcat 3.2.1) ?

Hi,

I'm wondering how I can have Tomcat 3.2.1 execute a class (not a servlet)
when it starts up.

Thanks.

Spencer


RE: How to execute a class on startup (Tomcat 3.2.1) ?

Posted by Tal Dayan <ta...@zapta.com>.
How about writing your own startup class that will call the Tomcat startup
class ?

You may have to change the class in the Tomcat startup files.

Tal

> -----Original Message-----
> From: Lu, Spencer [mailto:slu@spaceworks.com]
> Sent: Monday, April 16, 2001 4:26 PM
> To: tomcat-user@jakarta.apache.org
> Subject: How to execute a class on startup (Tomcat 3.2.1) ?
>
>
> Hi,
>
> I'm wondering how I can have Tomcat 3.2.1 execute a class (not a servlet)
> when it starts up.
>
> Thanks.
>
> Spencer
>
>