tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis Callo <>
Subject Re: Servlet configuration
Date Mon, 25 Jun 2001 20:47:44 GMT

--- Celson Lima <> wrote:
> Hi there,
> I'm beginner with TOMCAT, which means maybe my
> question is too simple for
> you, but it is really "advanced" to me. I would like
> get help with the
> following: I have Cocoon installed together with
> TOMCAT and it is working
> perfectly. I would like to use cocoon to handle the
> presentation issues of
> my site. However, I would like to have my own
> "servlet",which means, I
> would like to use my own directory (let's say,
> /webapps/cpl ) instead of
> having my things inside the Cocoon's directory
> (/webapps/cocoon). My
> problem starts when I try do display a xml page
> (lets say
> /cpl/prms/getparms.xml) that is placed within my
> directory.
> I configured my "/cpl/web.xml" as shown below and I
> think because of that
> the invocation of "/cpl/prms/getparms.xml" is not
> sent to Cocoon rather to
> my servlet "/cpl". Is this correct and if it is, is
> there anything I can do
> in order to send that call directly to Cocoon?
> <servlet-mapping>
> <servlet-name>cpl</servlet-name>
> <url-pattern>/cpl</url-pattern>
> </servlet-mapping>

it should be "<url-pattern>/cpl/*</url-pattern>" all
request would be passed to cpl when you say

the "/prms/getparms.xml" will be passed to sevlet cpl
i havent tried this for a long time just give it a

> Thank you in advance for your kind attention,
> Celson

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail

View raw message