How to access server configuration

2006-06-21 Thread Smith Ran

Currently I have a Tomcat 5.0 server running on a 1.4 JRE.

I was wondering if there any API to access server configuration (in
server.xml etc.) from a servlet/application?

Is there a way to determine where the server is installed on the system
etc.?

I would like to basically determine the server's SSL public certificates to
provide to clients who want to connect securely.
Any help would be greatly appreciated.
Thanks.


How to access server configuration

2006-06-21 Thread Smith Ran

Currently I have a Tomcat 5.0 server running on a 1.4 JRE.

I was wondering if there any API to access server configuration (in
server.xml etc.) from a servlet/application?

Is there a way to determine where the server is installed on the system
etc.?

I would like to basically determine the server's SSL public certificates to
provide to clients who want to connect securely.
Any help would be greatly appreciated.
Thanks.