On Thu, 16 Sep 2004 12:05:46 +0200, Sebastien Moretti <[EMAIL PROTECTED]> wrote: > Hello, > Does 'DefaultContext' element work in Tomcat 5.5 ? > > I used it in tomcat 5.0.27 with this syntaxe in $CATALINA_HOME/conf/server.xml > : > > <Host appBase="webapps" name="localhost"> > ... > <DefaultContext cookies="true" override="true" swallowOutput="true" > allowLinking="true"/> > </Host>
Defaults can be set for: - all contexts in conf/context.xml (this will handle all the stuff that a Context element can, instead of a subset like DefaultContext) - per host, in conf/<enginename>/<hostname>/context.xml.default (still with the usual Context element) There's some documentation on that here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html -- xxxxxxxxxxxxxxxxxxxxxxxxx R�my Maucherat Developer & Consultant JBoss Group (Europe) S�RL xxxxxxxxxxxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
