cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: Mixed metaphores with URI matching
Date Thu, 16 Nov 2000 06:30:35 GMT
Berin Loritsch wrote:
> 
> In trying to resolve some issues regarding finding the
> uri that we are looking at, I noticed that we are using
> many different methods.
> 
> In CocoonServlet we have getRequestURI, getServletPath,
> and getPathInfo.
> 
> The URI we match against is:
> 
> getServletPath + getPathInfo.
> 
> The WildCardURIMatcher and RegexpURIMatcher both check
> against getRequestURI.

Yes because of their names.

We have to take into account that the wrapped Request objects askes the
Environment to deliver the URI because only the Environments objects knows in
what context the sitemap is in (mounting sub sitemaps changes the URI components
have to receive)

Giacomo

Mime
View raw message