If your running with a security manager, I'd guess not. I'm faily sure the
default sandbox for a servlet won't let you. Of course you could always edit
the policy file. However, without a security manager you'll have no problems
assuming you run your servlet engine as someone who can see the file....
However, why would you want a servlet to have access to the file?
sam
----- Original Message -----
From: "Peter Barraud" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 7:50 AM
Subject: the server.xml file
> is there any way I can get the absolute path of tomcat's server.xml file
by
> from my servlet??
> peter
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html