http://jakarta.apache.org/tomcat/tomcat-4.0-doc/security-manager-howto.html

I'm guessing, but I don't know for sure...


On 5/31/02 3:16 AM, "Andreas Novak" <[EMAIL PROTECTED]> wrote:

> Dear list,
> 
> I'm using tomcat on a win32 machine and need to start an external process from
> a servlet ( batch file transfer from an IBM Mainframe ).
> The code snippet which should do the work looks like:
> 
> Runtime runtime = System.getRuntime();
> Process clientAccessBatch = runtime.exec(<command>);
> 
> (I've already used this kind of code from a signed applet )
> Although I get no exception, the command specified is never executed. Are
> there any security issues, I've forgotten or do I have to take care of
> special tomcat stuff?
> 
> Thanks in advance


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

Reply via email to