Hi!

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="http://host.com/someURL/"; override="false"/>
</Context>

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}"/>
</map:act>
</map:match>

Please help me to make my sitemap work.

--
Regards, Konstantin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to