hi christian,

> You are looking for request.getServletPath(), thus {request:servletPath}
> 
not really.
since servletPath for me returns the whole request, that comes in, not
the pipeline, that processes the request.

for instance
a sitemap declares the pipeline listed below, the sitemap is mounted to
c/** on a parent-sitemap that consumes /a/b/**, where /a is the context
path and b is the path of the parent sitemap.

<map:pipeline>
  <map:match pattern="x/y.html">
     ...
  </map:match>
</map:pipeline>  

so what I would like is to get the external path of this pipeline above,
(/a/b/c) not the whole SCRIPT_NAME (/a/b/c/x/y.html) information.

so using {request:servletPath} does not work for me here.

well the reason for wanting to do this, is that if you depend on hard
coded path's for instance for redirect, you loose much of the subsitemap
behaviour, where you specify the path the sitemap proceses in the parent
sitemap ...

> > Is there currently a module, sorry I hadn't had the time to look into
> > the source files, which returns the url path for the pipeline, that
> > processes it the request?
> 
> Well, no, you didn't care to look at the docs. That is a big deal different.
> 
well, sorry, don't agree with you here - I did look at the
documentation, on the wiki.cocoondev.org and on the cocoon docs about
modules, but perhaps you can point me to another direction.

(Knowing that you did much of the modules implementation , so kudos to
you ;-)

-- Jakob


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to