cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kuznetcov Konstantin <>
Subject Accessing tomcat servlet context parameters in sitemap
Date Sun, 25 Apr 2010 15:30:45 GMT

I have user-defined parameter 'redirectURL' in tomcat servlet context 
and need to use this parameter in my sitemap.
I can modify ROOT.xml, but there is no opporunity to store this 
parameter somewhere outside of tomcat's server configuration.

My ROOT.xml in tomcat looks  like
<Context docBase="../apps/myWebapp">
<Parameter name="redirectURL" value="" 

The sitemap contains section for this redirect, but it {redirectURL} 
doesnt get any value

<map:match pattern="redirected">
<map:act type="request">
<map:parameter name="parameters" value="true"/>
<map:redirect-to uri="{redirectURL}{requestQuery}"/>

Please help me to make my sitemap work.

Regards, Konstantin

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message