I ended up going with Jetty. It was not too difficult to write my own handlers
for content within Jetty. It didn't have any built-in handlers where I could
give it a URL as a base, but I was able to write a primitive static content
handler and a very primitive Servlet handler which are enough
: Vacuum Joe [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, January 02, 2007 8:43 PM
Subject: Re: Embedding Tomcat in a standalone JAR
what/which tasks do you want this embedded tomcat to accomplish?
Very simple tasks! I have a few Servlets and a few simple JSPs
From: Vacuum Joe [mailto:[EMAIL PROTECTED]
Subject: Embedding Tomcat in a standalone JAR
I found a couple of guides to embedding Tomcat
There's a bit of real documentation here:
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/cat
alina/startup/Embedded.html
There's a bit of real documentation here:
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/cat
alina/startup/Embedded.html
Unfortunately, the promising See also: link doesn't lead to much, but
looking at the source code for org/apache/catalina/startup/Catalina.java
should be
From: Vacuum Joe [mailto:[EMAIL PROTECTED]
Subject: Re: Embedding Tomcat in a standalone JAR
Right, those are two of the places I looked at, including the
source for Catalina.java, and they weren't helpful. They are
all about specifying files on the filesystem.
There has to be some
strictement interdit
de le diffuser, de le distribuer ou de le reproduire.
- Original Message -
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, January 02, 2007 8:04 PM
Subject: RE: Embedding Tomcat in a standalone JAR
From: Vacuum
what/which tasks do you want this embedded tomcat to accomplish?
Very simple tasks! I have a few Servlets and a few simple JSPs and a little
bit of static content (html files and images) that I need it to run. No other
external things, like no DB or anything else. No need for any other fancy