dcsimg

How do I embed Tomcat in my own server application?

Nilesh Junnarkar

Set tomcat.home system variable, add all tomcat jars to your classpath and then you can call org.apache.tomcat.startup.Tomcat class from your application.