You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Richard Unger <ru...@nuance.com> on 2002/04/30 20:27:09 UTC
embedded tomcat and JspServlet
I've written an Embedded tomcat (4.0.3) that reads in the standard ${catalina.home}/conf/web.xml. Servlets and .war files work fine. However, when I try to fetch a jsp page, the result comes back with several stack traces to the effect of not being able to find the javax.servlet package and classes.
The catalina log contains:
jsp: init
Internal Error: File /WEB-INF/web.xml not found.
Any notions?
Thanks,
Rich
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: embedded tomcat and JspServlet
Posted by Arvind Srinivasan <ar...@sun.com>.
Richard Unger wrote:
> jsp: init
> Internal Error: File /WEB-INF/web.xml not found.
>
I believe this particular error message is generated (by o.a.j.compiler.TldLocationsCache.processWebDotXml) when initializing the default context (which doesn't have a WEB-INF/web.xml). I don't think this causes any problems (nor is it the source of your error) and the message should probably be
suppressed.
Arvind
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>