an embedded Tomcat is the same as a regular Tomcat if you configure it
that way.
The easiest way I can think of is to take a look at the class we use to
launch a simple tomcat in trunk
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java?view=annotate
there is a method called "addWebApp"
Filip
On 01/21/2010 02:50 PM, Clay McCoy wrote:
Thank you for the reply, but I'm talking about embedded Tomcat.
The war is deployed programmatically, and the API has changed drastically since
the dated examples I can find. It would be great if the embedded use of Tomcat
had the same level of documentation.
On 1/21/10 3:23 PM, "Filip Hanik - Dev Lists"<devli...@hanik.com> wrote:
simplest
http://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html
On 01/21/2010 01:41 PM, Clay McCoy wrote:
I want to deploy a war file in an embedded Tomcat.
There a few outdated examples, and many posts where this gets asked and never
answered.
http://www.mail-archive.com/users@tomcat.apache.org/msg19481.html
The methods once used to do this are gone, and I can't find any examples of how
to do such a simple and useful task. This is pretty ridiculous, surely someone
knows how to do this.
Thanks,
Clay
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org