Howdy, This is generally a bad idea (you can search this list's archives for more details). The Servlet/JSP APIs do not provide for this, so you have to use System.exec(...). This will work if the security manager allows it, so that's up to your server administrator.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Martin Mauri [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 10, 2003 11:37 AM >To: Tomcat Users List >Subject: Running external processes... > >Hi, > >I'm building a webapp with JSP and I need to run an external shell process >on Linux...I don't know if this is implemented by the Servlet/JSP API , can >I call it in the normal way like "System.exec()"?? or it won't worj? > >thanks! > >Martin > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
