[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-dev] Web App Context Mapping

Hi,
   I am having two applications deployed for a specific virtual host with following context

AppA.  
           <New id="r1" class="org.eclipse.jetty.webapp.WebAppContext">
            <Set name="Server"><Ref id="Server" /></Set>
            <Set name="ContextPath">/</Set>
            ............................................
has a servelr mapping for AppA in the form

     servlet-mapping>
<servlet-name>hrServlet</servlet-name>
<url-pattern>/HR/*</url-pattern>
  </servlet-mapping>

AppB.

    <New id="r2" class="org.eclipse.jetty.webapp.WebAppContext">
            <Set name="Server"><Ref id="Server" /></Set>
            <Set name="ContextPath">/HR</Set>

if the request URI is of the form  http://www.xyz.com/HR , which application will serve this request ?

Prakash