tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <remy.mauche...@gmail.com>
Subject Re: [DefaultContext in tomcat 5.5]
Date Thu, 16 Sep 2004 17:05:26 GMT
On Thu, 16 Sep 2004 12:05:46 +0200, Sebastien Moretti
<sebastien.moretti@igs.cnrs-mrs.fr> 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message