Re: Operating System identification

2006-07-08 Thread Leon Rosenberg
try: if (System.getProperty("os.name").equals("Linux")){ leon On 7/8/06, Raghuveer <[EMAIL PROTECTED]> wrote: 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 spec

Operating System identification

2006-07-08 Thread Raghuveer
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 Win