tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasile GABURICI <gabur...@cs.pub.ro>
Subject RE: Running on NT vs Unix - How to tell
Date Mon, 08 May 2000 21:53:37 GMT

	Props(copy-n-pasted from the docs):

      os.name                                                    
                                    Operating system name        
      os.arch                                                    
                                    Operating system architecture
      os.version                                                 
                                    Operating system version     
      file.separator                                             
                                    File separator ("/" on UNIX) 
      path.separator                                             
                                    Path separator (":" on UNIX) 
      line.separator                                             
                                    Line separator ("\n" on UNIX)


> 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
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 
> 

Mime
View raw message