Re: Calling Shell Commands from JSP

2003-02-18 Thread Holger Klawitter
Am Dienstag, 18. Februar 2003 12:35 schrieb Laxmikanth M.S.:
> Hi All,
> How to call shell commands within JSP

As in every normal Java application:
  Runtime.getRuntime().exec( new String[] { "something", "-nasty" } );
The only difference is the need for some permissions in
  $TOMCAT_HOME/conf/catalina.policy
See the docs
  http://jakarta.apache.org/tomcat/tomcat-4.1-doc/security-manager-howto.html
for further details.

With kind regards / mit freundlichem Gruß
Holger Klawitter
--
Holger Klawitter  http://www.klawitter.de
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Calling Shell Commands from JSP

2003-02-18 Thread Laxmikanth M.S.
Hi All,
How to call shell commands within JSP
thanks 
Laxmikanth
*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]