How to know if platform is Windows or Linux from jsp?

2004-06-02 Thread Francisco José Arnau Vives
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

AW: How to know if platform is Windows or Linux from jsp?

2004-06-02 Thread Marco Pöhler
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

RE: How to know if platform is Windows or Linux from jsp?

2004-06-02 Thread FRANCK AMELIN
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

Re: How to know if platform is Windows or Linux from jsp?

2004-06-02 Thread Veniamin Fichin
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

RE: How to know if platform is Windows or Linux from jsp?

2004-06-02 Thread Tom . Williams
Return Receipt Your RE: How to know if platform is Windows or Linux from jsp? document :