tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Veniamin Fichin <3ca28...@mail.ru>
Subject Re: How to know if platform is Windows or Linux from jsp?
Date Wed, 02 Jun 2004 10:48:39 GMT
Francisco José Arnau Vives wrote:

> How to know if platform is Windows or Linux from a jsp file in order to
> define variables to access to the file system?

    java.lang.System#getProperty("os.name")


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message