Return Receipt
Your RE: How to know if platform is Windows or Linux from jsp?
document
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: [EMAIL PR
Try something like this :
<%
if (System.getProperty("os.name").startsWith("Win"))
{
// case windows
}
else
{
// case not windows
}
%>
-Message d'origine-
De :Francisco José Arnau Vives [mailto:[EMAIL PROTECTED]
Envoyé :mercredi 2 juin 2004 12:14
À : [EMA