<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>resin & regexps</title>

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:0cm;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:Verdana;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
code
        {font-family:"Courier New";}
span.EstiloCorreo18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:navy'><!-- Converted from text/rtf format -->Andy,</span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:navy'>We
have two servlets working with this configuration. We are not using regexps
though. HTH</span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:navy'>--mariano</span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'>    <servlet-mapping></span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'>       
<servlet-name>OpenCmsServlet</servlet-name></span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'>       
<url-pattern>/go/*</url-pattern></span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'>   
</servlet-mapping></span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'> </span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'>    <servlet-mapping></span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'>       
<servlet-name>xmlService</servlet-name></span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'>       
<url-pattern>/XMLServlet/*</url-pattern></span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'>   
</servlet-mapping></span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'> </span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'> </span></code></p>

<p class=MsoNormal><code><span style='font-size:10.0pt'> </span></code></p>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=ES style='font-size:
10.0pt;font-family:Tahoma'>-----Mensaje original-----<br>
<b>De:</b> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <b>En nombre de </b>Andy Kriger<br>
<b>Enviado el:</b> Lunes, 20 de Septiembre de 2004 07:18 p.m.<br>
<b>Para:</b> 'The OpenCms mailing list'<br>
<b>Asunto:</b> [opencms-dev] resin & regexps</span></p>

<p class=MsoNormal style='margin-left:36.0pt'> </p>

<p style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:Arial'>I
am trying to setup regexps instead of pattern matching in Resin web.xml with
OpenCms</span> <br>
<span style='font-size:10.0pt;font-family:Arial'>This works...</span><br>
<span style='font-size:10.0pt;font-family:Arial'><servlet-mapping></span><br>
        <span style='font-size:10.0pt;
font-family:Arial'><servlet-name>OpenCmsServlet</servlet-name></span><br>
        <span style='font-size:10.0pt;
font-family:Arial'><url-pattern>/opencms/*</url-pattern></span><br>
<span style='font-size:10.0pt;font-family:Arial'></servlet-mapping></span>
<br>
<span style='font-size:10.0pt;font-family:Arial'>This does not...</span><br>
<span style='font-size:10.0pt;font-family:Arial'><servlet-mapping></span><br>
        <span style='font-size:10.0pt;
font-family:Arial'><servlet-name>OpenCmsServlet</servlet-name></span><br>
        <span style='font-size:10.0pt;
font-family:Arial'><url-regexp>/opencms/.*</url-regexp></span><br>
<span style='font-size:10.0pt;font-family:Arial'></servlet-mapping></span>
</p>

<p style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:Arial'>Has
anyone set up regexps for OpenCms in order to use other servlets with OpenCms?</span>
</p>

<p style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:Arial'>thx</span>
</p>

</div>

</body>

</html>