tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@apache.org>
Subject Re: Static resource mapping in web.xml
Date Wed, 08 Jun 2011 17:52:36 GMT
yes - that would be a problem.  The invoker doesn't know how to serve static
resources.

-Tim

On Wed, Jun 8, 2011 at 1:44 PM, <falvarez@geocom.com.uy> wrote:

> I agree with you.
>
> The static resources where never a problem to me, but since I messed with
> the web.xml they started to behave oddly.
>
> Maybe this line is causing trouble:
>     <servlet-mapping>
>        <servlet-name>invoker</servlet-name>
>        <url-pattern>/*</url-pattern>
>    </servlet-mapping>
>
> It used to be:
>     <servlet-mapping>
>        <servlet-name>invoker</servlet-name>
>         <url-pattern>/servlet/*</url-pattern>
>    </servlet-mapping>
>
> What do you think? Can this be interfering with the requests to resources?
>
>

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