Raghu- Tomcat- There is a property called htmlManagerServlet.serverOSName here is an example on how to obtain the value http://mail-archives.apache.org/mod_mbox/tomcat-dev/200606.mbox/[EMAIL PROTECTED]
command line see if you can spawn/exec("uname") HTH Martin -- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Raghuveer" <[EMAIL PROTECTED]> To: <user@ant.apache.org> Sent: Saturday, July 08, 2006 4:26 AM Subject: Operating System identification > How to identify Operating System of my Application server. > > I have property file in my web application for Windows and Linus. > > I need to identify th Operating System and read specific configuration file > in my Struts Application .? > > Example: > My Web application can be run on OC4J server,JBOSS on Windows or Linux > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >