tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "0 8" <>
Subject Running code on Tomcat startup
Date Thu, 22 Jun 2006 20:46:00 GMT

I have a newbie Tomcat question.

A search application I need to work with uses RMI.  When I start
Tomcat, is there a way I can run the code to create an object that I
can reference in a JSP later?

What I need to run is straight forward:

ClientServices cs =
parms); // Get the ClientServices
cs.Login(strDomain, strUser, strPassword); // Login

Can I run this and reference the object cs from my JSP?

If someone could point me in a general direction it would be
appreciated.  If there's a better way to handle this, I'm open to


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message