tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Grobe <Gary.Gr...@aspentech.com>
Subject RE: Running on NT vs Unix - How to tell
Date Mon, 08 May 2000 16:55:56 GMT
look at properties, specifically System.getProperty("file.separator"); and
("line.separator"). as far as the drives go, use the properties to see what
platform your on, then you can if, else it or etc...

-----Original Message-----
From: Chris Howard [mailto:choward@asgna.com]
Sent: Monday, May 08, 2000 10:39 AM
To: tomcat-user@jakarta.apache.org
Subject: Running on NT vs Unix - How to tell


Is there a way I can tell what platform Tomcat is running on.  I'm having to
build directory structures based on where the JSP is running from and I need
to know weather to use "\" or "/" and weather I need a drive specified "C:",
"D:" etc....

Thanks
Chris


--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message