> Is there a way to read items from the server.xml in Tomcat. I want to
> use server.xml to distinguish my development environment from my
[quoted text clipped - 7 lines]
> http://www.freewebs.com/karelsuikers/
> --------------------------------------
Arnaud Berger schreef:
> What does "read" mean ?
It is possible to put parameters for a certain class in web.xml, that's
what I want to do with server.xml, but I don't know how to do that.
>>Is there a way to read items from the server.xml in Tomcat. I want to
>>use server.xml to distinguish my development environment from my
>>production server.

Signature
--------------------------------------
karel.suikers@cashette.com
http://www.freewebs.com/karelsuikers/
--------------------------------------
Arnaud Berger - 06 Apr 2005 15:29 GMT
What is possible , is to create a XML "Context" file for a webapp.
This file should have the same name as the webapp (plus ".xml" obviously) .
See admin.xml and manager.xml which are examples of this.
Your datasources can be also configured at this level.
Regards,
Arnaud
> Arnaud Berger schreef:
>
[quoted text clipped - 10 lines]
> http://www.freewebs.com/karelsuikers/
> --------------------------------------
Karel Suikers - 08 Apr 2005 08:23 GMT
Arnaud Berger schreef:
> What is possible , is to create a XML "Context" file for a webapp.
> This file should have the same name as the webapp (plus ".xml" obviously) .
>
> See admin.xml and manager.xml which are examples of this.
> Your datasources can be also configured at this level.
Thanks, this works.
Karel

Signature
--------------------------------------
karel.suikers@cashette.com
http://www.freewebs.com/karelsuikers/
--------------------------------------