Gerry,

look at org.apache.turbine.util.parser.ParserUtils at the
getUrlFolding() method. This shows how to get a property from the
Turbine configuration. In this instance you will find an entry in
TurbineResources.properties, for 'caseFolding'. 

I hope that this is what you are looking for, or am I missing something?

Regards,

Peter

On Thu, 2004-01-29 at 19:27, Gerry Duprey wrote:
> Howdy,
> 
> Can someone explain why the Turbine servlet class (org.apache.turbine.Turbine) 
> has a final init() method?
> 
> I'd very much like to subclass this so my application can pick up a config 
> item or two at startup.  Actually, I have 3 different apps being run as three 
> difference servlets (all currently using Turbines servlet handler).  A single 
> additional parameter is all I need to tailor each one to a specific actual app 
> (I don't intend on adding any code beyond reading that config element and 
> providing a getter for it).
> 
> Any thoughts?  I guess I could tailor my Turbine source code to not declare it 
> final, but if this violates something about the Turbine philosphy, I'd like to 
> learn to work in it.
> 
> Thanks,
> 
> Gerry
-- 
Peter Courcoux <[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to