I totally accept it is not preferable to have a web-app read config content from the WebServer Container - I just wondered for a particular app I have inherited for support/maintenance it was possible. I thought it was not - and I thank you for verifying this fact.
My main reason for asking is that I wanted some URL information in init() methods - and the servlet api allows you only to access URL info via the Request class. Thanks - for your response. Jon -----Original Message----- From: Philipp Taprogge [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 13:06 To: Tomcat Users List Subject: Re: Server.xml content Hi! Jon Belinfante wrote: > Does anyone know how in a Web App one can read parameter info from > server.xml. Basically I am looking for a way to read port numbers from the > app. Is this possible. ? I presume not - but I ask just in case there is > something I may of missed. It is neither possible nor desirable to have a webapp directly read container config files. What exactly do you want your app to do? In general, all information a webapp should need is available through the Servlet API. Perhaps you could elaborate further on your app's needs? Phil -- And on the seventh day, He exited from append mode. (Book of create(2), line 255) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ******************************************************************* Tokyo-Mitsubishi International plc ('TMI') is registered in England, company number 1698498. TMI's registered office is 6 Broadgate, London EC2M 2AA. TMI is a wholly owned subsidiary of The Bank of Tokyo-Mitsubishi, Ltd and is regulated by the Financial Services Authority. This message is intended solely for the individual addressee named above. The information contained in this E-Mail is confidential and may be legally privileged. If you are not the intended recipient please delete in its entirety. Messages sent via this medium may be subject to delays, non-delivery and unauthorised alteration. The information contained herein or attached hereto has been obtained from sources we believe to be reliable but we do not represent that it is accurate or complete. Any reference to past performance should not be taken as an indication of future performance. The information contained herein or attached hereto is not to be construed as an offer or solicitation to buy or sell any security, instrument or investment. TMI or any affiliated company, may have an interest, position, or effect transactions, in any investment mentioned herein. Any opinions or recommendations expressed herein are solely those of the author or analyst and are subject to change without notice. ******************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]