cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Vindevogel" <yves.vindevo...@implements.be>
Subject RE: Cocoon and interaction with the Shell
Date Tue, 18 Nov 2003 10:54:40 GMT
What I need is this:

A link in a page performs a delete in the database of the necesarry records.
Some of these records are references to links to files (for photos on a
website)
I also need to delete the photos on the site.

I would thus need something in XSP to delete a file, or do it from a
function in Postgres.

-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Martin Holz
Sent: dinsdag 18 november 2003 9:21
To: users@cocoon.apache.org
Subject: Re: Cocoon and interaction with the Shell


"Yves Vindevogel" <yves.vindevogel@implements.be> writes:

> Is there anything within Cocoon that interacts with the (*nix)-shell ?
>
> Or a way to do this ?

What do you mean by interact? Every java program could call
System.Runtime.exec. I am not aware of any cocoon component,
that does this. But it should be straight forward to write
a Generator, that calls a legacy program and converts its
output to SAX events.

Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message