Hi.

I have a servlet, Hungry, which wants to process all requests which
extend a given prefix.  No problem in
tomcat.  I add the following stanza to my webapps web.xml

    <servlet-mapping>
      <servlet-name>Hungry</servlet-name>
      <url-pattern>/Hungry/*</url-pattern>
    </servlet-mapping>

When I use tomcat in apache this doesn't have the desired effect even
though I include
mod_jk.conf-auto.  Things are OK if the request path is forwarded to
tomcat: Hungry gets
/context/Hungry/xyz.jsp; however, according to the tomcat logs, tomcat
never sees a request for
/context/Hungry/xyz.

If I use port 8080 (i.e. tomcat) directly, Hungry  gets /Hungry/xyz.

I believe I can fix this by adding 
        JkMount /context/Hungry/* ajp12 
to the mod_jk.conf-auto file, however, I'd rather just use the auto
generation facility.

Can anyone help me with this?

Thanks.

-- 
Len

Reply via email to