[opencms-dev] resin & regexps

Mariano Barcia opencms at colaborativa.net
Tue Sep 21 02:44:26 CEST 2004


Andy,

 

We have two servlets working with this configuration. We are not using
regexps though. HTH

--mariano

 

    <servlet-mapping>

        <servlet-name>OpenCmsServlet</servlet-name>

        <url-pattern>/go/*</url-pattern>

    </servlet-mapping>

 

    <servlet-mapping>

        <servlet-name>xmlService</servlet-name>

        <url-pattern>/XMLServlet/*</url-pattern>

    </servlet-mapping>

 

 

 

-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] En nombre de Andy Kriger
Enviado el: Lunes, 20 de Septiembre de 2004 07:18 p.m.
Para: 'The OpenCms mailing list'
Asunto: [opencms-dev] resin & regexps

 

I am trying to setup regexps instead of pattern matching in Resin
web.xml with OpenCms 
This works...
<servlet-mapping>
        <servlet-name>OpenCmsServlet</servlet-name>
        <url-pattern>/opencms/*</url-pattern>
</servlet-mapping> 
This does not...
<servlet-mapping>
        <servlet-name>OpenCmsServlet</servlet-name>
        <url-regexp>/opencms/.*</url-regexp>
</servlet-mapping> 

Has anyone set up regexps for OpenCms in order to use other servlets
with OpenCms? 

thx 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040920/d0a3d967/attachment.htm>


More information about the opencms-dev mailing list