Grandy Fu asked:

> Can I tomcat4 search multiple WEB-INF in one webapp like:
>
> <docbase>/dira/WEB-INF
>          /dirb/dirb1/WEB-INF
>          /dirc/WEB-INF

I think not.

Is creating multiple contexts in your server.xml what you would rather do?

   <Context path="/dira"
     docBase="g:/somedir/dira" >
   </Context>
<!-- I don't remember if /dirb/dirb1 will need an intermediate context for
/dirb -->
   <Context path="/dirb/dirb1"
     docBase="g:/anydir/dirb/dirb1" >
   </Context>
   <Context path="/dirc"
     docBase="g:/whatdir/dirc" >
   </Context>

That way, you can keep your paths straight and avoid confusion. (Does that
sound a little transcendental, or am I just short on sleep?)

Joel Rees
Alps Giken Kansai Systems Develoment
Suita, Osaka




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to