cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: [BLOCKER] {request:contextPath}
Date Tue, 22 Mar 2005 14:39:07 GMT
Vadim Gritsenko wrote:
  > Either I'm missing something, or {request:contextPath} returns empty
> string instead of "/cocoon" - I'm testing currently under Tomcat 
> 5.0.27... All samples are broken as links to CSS and images are incorrect.

More info: replacing expression with {request:getContextPath(.)} [1] fixes the 
problem. Any clues?

Vadim

[1]
       <map:transform src="welcome.xslt">
         <map:parameter name="contextPath" value="{request:getContextPath(.)}"/>
       </map:transform>

Mime
View raw message