How to know if platform is Windows or Linux from a jsp file in order to
define variables to access to the file system?
Este mensaje se dirige exclusivamente a su destinatario y puede contener
información
Possible System.getProperty(os.name) will do the job ?!
kr
Marco Poehler
---
http://www.poehlerpoehler.de
http://www.kontaktlinsen-preisvergleich.de
-Ursprüngliche Nachricht-
Von: Francisco José Arnau Vives [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 2. Juni 2004 12:14
An: [EMAIL
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
À : [EMAIL
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
Return Receipt
Your RE: How to know if platform is Windows or Linux from jsp?
document
: