aspose file tools*
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
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: 41821
    
  62
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 - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to invoke any applicaton with Tomcat 4.1