wood burning stoves 2.0*
The moose likes Tomcat and the fly likes How to invoke any applicaton with Tomcat 4.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to invoke any applicaton with Tomcat 4.1" Watch "How to invoke any applicaton with Tomcat 4.1" New topic
Author

How to invoke any applicaton with Tomcat 4.1

Ganesh Prakhya
Ranch Hand

Joined: May 05, 2004
Posts: 76
Hi All,

I installed Tomcat 4.1 as a Windows service and it is running fine soon after starting windows. My requirement is, when Tomcat starts and running I want to start any other application (For example a servlet) automcatically along with Tomcat. Is it possible to do?

Thanks & Regards,
Ganesh.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
Check out the <load-on-startup> element of the <servlet> declaration in your web.xml. You can use it to run a servlet right after the container has started.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to invoke any applicaton with Tomcat 4.1
 
Similar Threads
JSP and JavaBeans
Tomcat 4.1 on Windows XP
Memory Usage Issue
Tomcat: digester error on startup
Calling a servlet on startup