Short answer to your question.....no, Struts has nothing to do with this. I can't understand how someone would take a week to try and get this working in JSP page, and even go so far as to write this email and send it to this list without first trying this (almost)verbatim in a simple test class.
I ran your example on my home machine (Mandrake 10.0) and it worked just fine in a JSP or in an Action forwarded to a JSP. There's something else going on. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx ----- Original Message ----- From: "Christian Riedel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 26, 2004 9:50 AM Subject: Re: Is struts interfering with Runtime.exec() calls? > Hi James, > > On 26.08.2004 15:43, James Mitchell wrote: > > You are kidding right? > > I don't see any fun here and I am not kidding at all ... > > > Did you even try this from a test class? > > As described before I have tried it with the test jsp as well as from > the application itself. The String containing the command for > Runtime.execute() is: > > >>>"/bin/chmod 660 /home/sarek/test/testfile" > > The execute itself went fine, no Exceptions, exitcode 0 but the results > of the command were as described in the table (see o.p.) > > I have tried to find the cause for nearly two weeks now. I simply don't > see a mistake. > > Were you saying I was kidding because you cant imagine this result, or > because I am missing something that was very obvious for you? > > Please enlighten me ;-) > > Christian > > -- > To reply to this posting directly use the following address and > remove the 'NO-SPAM' part: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]