cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John L. Webber" <>
Subject Re: Runtime.exec()
Date Mon, 21 Jun 2004 06:57:46 GMT
Hi Irfan,

It would be helpful if you provided a larger code snippet. It sounds 
like there is some other syntax error in your page.

John wrote:
> Hi,
> I am trying to run a seperate process using Runtime.exec() from within an XSP.
> I use the following syntax:
> Runtime.getRuntime().exec("exe-name args");
> If I do not enclose it inside a try-catch block it tells me that it
> can't find the "class" getRuntime of class Runtime.
> If I DO enclose it in a try-catch, then it tells me:
>  "Error compiling curve_xsp: Line 64, column 8: illegal start of type
> Line 47, column 11: class
> should be declared abstract; it does not define method generate() in
> interface org.apache.cocoon.generation"
> Any ideas would be welcome.

  Jentro Technologies GmbH
  John L. Webber, Software Development
  Rosenheimer Str. 145e	    81671 M√ľnchen
  Tel. +49 89 189 169 80
  Fax  +49 89 189 169 99
NOTICE: The information contained in this e-mail is confidential or may 
otherwise be legally privileged. It is intended for the named recipient 
only. If you have received it in error, please notify us immediately by 
reply or by calling the telephone number above and delete this message 
and all its attachments without any use or further distribution of its 
contents. Please note that any unauthorised review, copying, disclosing 
or otherwise making use of the information is strictly prohibited. Thank 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message