Advertisement

07.05.2005 at 03:52PM PDT, ID: 21481262
[x]
Attachment Details

how do I get a struts app in tomcat to load classes on startup

Asked by bugmenotworksdamnit in Java Programming Language, Java Servlets

Tags: tomcat, load, class, how, startup

When an struts application get loaded into Tomcat (5) I would like to it run a java class (loadonstartup.java) which contains methods to access a few databases and initialize some vanilla scripts (get enumaterated lists and create some LabelValueBeans) .

Being more of a front end person (action, forms, designer) I'm looking for the correct way to do this as I know that my way would most certainly be a half-minded approach.Start Free Trial
 
Loading Advertisement...
 
[+][-]07.05.2005 at 04:37PM PDT, ID: 14373815

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Programming Language, Java Servlets
Tags: tomcat, load, class, how, startup
Sign Up Now!
Solution Provided By: lhankins
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.05.2005 at 04:40PM PDT, ID: 14373827

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32