Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Order of Initializing Context-Elements?

Sebastian Hofmann

2004-05-27


Hi,

I have a big problem - it is necessary for me to initialize the
context-elements of a host in a specific order. Here is a snip of my
web.xml:

<Host name="itv" appBase="." autoDeploy="true" debug="0"
unpackWARs="true" xmlNamespaceAware="false" mlValidation="false">  

  <Context path=""
      docBase="/home/sebastian/projekte/itv/itv-web"
      reloadable="true"/>

  <Context path="/temp"
      docBase="/home/sebastian/projekte/itv/temp"
      reloadable="true"/>

  <Context path="/content"
      docBase="/home/sebastian/projekte/itv/content"
      reloadable="true"/>
     
  </Host>

The context with path="" should be loaded at first, followed by the
others. I tried to change the order in server.xml-file, but always
tomcat loads context with path="/content" first...


Has anybody any idea?
Thanks a lot
bye
Sebastian


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.