tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Grobe <>
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 []
Sent: Monday, May 08, 2000 10:39 AM
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....


To unsubscribe, email:
For additional commmands, email:

View raw message