"Auke Noppe" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi,
>
>
>
> Is it possible to call the digester of the web.xml by hand?
>
> Like you can override the createstartdigester method in catalina.java?
>

As the other posters have said, it is difficult to see a use case for this. 
But that isn't a good enough reason to not give you enough rope to hang 
yourself with :).

On the <Host /> element in server.xml you can specify the attribute: 
configClass="com.myfirm.mypackage.MyContextConfig" (if you are running 
Embedded, just call the setConfigClass(String) method on the Host object, or 
set the "configClass" attribute via JMX if you are using JMX embedding). 
For any context under that Host, Tomcat will use an instance of this class 
in place of it's normal ContextConfig class.  It only is required to 
implement LifecycleListener, but if you extend TC's ContextConfig class, 
then you would need to override the method:
  protected static Digester createWebDigester()


>
>
> Regards,
>
>
>
> Auke Noppe
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date: 
> 16-10-2007
> 14:14
>
> 




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to