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 PROTECTED] > Betreff: How to know if platform is Windows or Linux from jsp? > > > 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 privilegiada o CONFIDENCIAL. Si no es vd. el destinatario > indicado, queda notificado de que la utilización, divulgación y/o copia > sin autorización está prohibida en virtud de la legislación vigente. > Si ha recibido este mensaje por error, le rogamos que nos lo comunique > inmediatamente por esta misma vía y proceda a su destrucción. > > This message is intended exclusively for its addressee and may contain > information that is CONFIDENTIAL and protected by professional privilege. > If you are not the intended recipient you are hereby notified that any > dissemination, copy or disclosure of this communication is strictly > prohibited by law. If this message has been received in error, please > immediately notify us via e-mail and delete it. > __________________________________________________________________ > __________ > ____ > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]