No. You can prefix match or file extension match, but not both at the same time.

-Tim

David Erickson wrote:

Hi I would like to do something like:
<servlet-mapping>

<servlet-name>action</servlet-name>

<url-pattern>/docs/**.pdf</url-pattern>

</servlet-mapping>



So that anything in the /docs/ folder AND ANY of its subfolders with the
.pdf extension gets sent to my action servlet.

Is that possible with tomcat 4.1.24?  If not does anybody know the class
that matches those things so I can alter it?

Thanks!

-David


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



Reply via email to