As a side note.  

The reason it may have originally worked in the examples webapp is that the
default servlet mapping is explicitly defined.  For all other web apps it is
disabled.

If you place 

    <servlet-mapping>
        <servlet-name>invoker</servlet-name>
        <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>

in the web.xml file you should not need to include servlet in every mapping

-----Original Message-----
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 10:56 AM
To: Tomcat Users List
Subject: Re: Test servlet won't run - help?


Wow, thanks for the timely response.  That was right on the money.  I love
you guys.  Thanks Erik.

I will be unsubscribing now.  Thanks again.

Mark Steere
[EMAIL PROTECTED]


> Try it from http://localhost:8080/myApp/myAppServlet
>
> That might work -- your URL-mapping doesn't say to look for
> servlet/myAppServlet.
>
>
> Erik
>
>
>
>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to