tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Farrow" <marc.far...@gmail.com>
Subject Re: Help with embedded server
Date Mon, 24 Apr 2006 12:11:40 GMT
This is just a guess, but I think you might want/need to add a servlet
mapping for all JSPs somewhere.  I do not have this problem.  It must be a
configuration problem.

On 4/24/06, Trevor Miller <ub3rg0th@gmail.com> wrote:
>
> Hi,
>
> On a standard binary tomcat distribution I can deploy JSP's without
> putting in any entries into the web.xml but when deployed on the
> embedded server I get 404's until I add:
>
>    <servlet>
>        <servlet-name>org.apache.jsp.index_jsp</servlet-name>
>        <servlet-class>org.apache.jsp.index_jsp</servlet-class>
>    </servlet>
>
>    <servlet-mapping>
>        <servlet-name>org.apache.jsp.index_jsp</servlet-name>
>        <url-pattern>/index.jsp</url-pattern>
>    </servlet-mapping>
>
> Then it works.
>
> Is there a way to configure the embedded server to work like the
> binary distro so that I don't have to add entries to my web xml file
> for every JSP?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


--
Marc Farrow
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message