You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andrei Tchijov <an...@tchijov.com> on 2007/05/17 16:50:44 UTC

Correct (any?) way to use custom Context class

I am trying to make tomcat (5.5) to use my custom context class for
directory based(deployed) web applications.  So far I have tried to
stick it in 2 places:

    - conf/context.xml ( as className attribute to Context node. As
per documentation ),
    - conf/server.xml ( as contextClass attribute to Host node. Out of
desperation and because there is setContextClass method in
StandradHost class ).

Neither of these works.

Any comments/suggestions/critic will be highly appreciated,

Andrei Tchijov


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