File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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: 41064
    
  43
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
 
 
subject: How to invoke any applicaton with Tomcat 4.1
 
Similar Threads
Memory Usage Issue
JSP and JavaBeans
Calling a servlet on startup
Tomcat: digester error on startup
Tomcat 4.1 on Windows XP