tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Embedded tomcat problem
Date Thu, 30 Sep 2010 17:33:38 GMT
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, based on logging messages,
> but whenever I try to access a page
> (http://localhost:8000/TestWeb1/index.jsp) using it, I get the standard
> Tomcat 404 error page with the message "The requested resource () is not
> available.".  The page shows up fine in a normal, standalone Tomcat. 
> Any help is appreciated.  Been working at this for a while now.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message