> Of course we support this, Orion supports the Servlet 2.2 
> specification and
> <servlet-mapping> is defined in that specification.

I see that it is defined, but from the information that I posted to start
this thread, could you tell me why I couldn't get it to work when using
<servlet-mapping> in web.xml but when placing the information in
<servlet-filter> within orion-web.xml, it worked perfectly?  I assume that
the web.xml works and I just dont know how to implement it correctly, could
you point me / us in the right direction?

Basically I have tried placing this in web.xml:

  <servlet-mapping>
    <servlet-name>blah</servlet-name>
    <url-pattern>/*.test</url-pattern>
  </servlet-mapping>

With no luck, but if I do this in orion-web.xml:

  <servlet-filter url-pattern="/*.test" servlet-name="blah" />

It works without errors.  This is true regardless of the <servlet-mapping>
information in web.xml (whether I leave it in or take it out makes no
difference as long as the line above exists in orion-web.xml).  I have also
tried a number of different mappings in web.xml alone with no luck.

What am I / are we doing wrong?
 
> If in any doubt if Orion supports something in web.xml, read 
> our documentation of
> it:
> http://www.orionserver.com/docs/web.xml.html

I did not doubt that it was supported, it just didnt work as I expected,
which is usually because my expectations are mislead by my lack of
knowledge.

Thanks for any insight you (or anyone else) can provide.

-Jeff 

Reply via email to