At a guess, you'll need to define the JSP servlet in web.xml if you want
to handle JSPs. Same goes for the default servlet and static content.
Mark
Mark - I owe you one! That was it. Seems like when Tomcat runs
standalone, it merges the contents of conf/web.xml into the
application's web.xm
From: Mitch Claborn [mailto:mitch...@claborn.net]
Subject: Embedded tomcat problem
The context.xml contains
Not directly related to the problem, but you should remove the path attribute;
it's not allowed when the element is in META-INF/context.xml. The
path to the webapp is derived
On 30/09/2010 18:02, Mitch Claborn wrote:
> Tomcat 6.0.29
> sun java 1.6.0_20
> Ubuntu 10.04 64 bit
>
> Seems like this should be simple, but can't get it to work. I'm trying
> to run a simple embedded Tomcat inside my program. Code for starting
> the Tomcat is below. It seems to start OK, base
Tomcat 6.0.29
sun java 1.6.0_20
Ubuntu 10.04 64 bit
Seems like this should be simple, but can't get it to work. I'm trying
to run a simple embedded Tomcat inside my program. Code for starting
the Tomcat is below. It seems to start OK, based on logging messages,
but whenever I try to access