Bill Barker wrote:
> "Mario Splivalo" <[email protected]> wrote in message
> news:[email protected]...
>> Bill Barker wrote:
>>> "Mario Splivalo" <[email protected]> wrote in message
>>> news:[email protected]...
>>>
>>> Tomcat also supports ant-style variable replacement, so using that then
>>> Ken's example would look like:
>>> <context-param>
>>> <param-name>baseprefix</param-name>
>>> <param-value>${BPVAL}</param-value>
>>> </context-param>
>>>
>>> where BPVAL is a Java system property (that can be set in
>>> catalina.properties for example).
>> And, those can be used also in apps context.xml?
>>
>
> Yes, this should work in context.xml (and even server.xml).
I'm having trouble finding that in documentation. Could you point me out
on where to find more info on this feature?
I can't put BPVAL you mention above in catalina.properties - I have
dozen of web applications, and each of them might have different
'parametars' I'd like to configure. Which means I would need to have
separate 'parametar' entries for each context file.
Thnx in advance,
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]