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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Marc Farrow

Reply via email to