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:[EMAIL PROTECTED] Behalf Of Martin Holz
Sent: dinsdag 18 november 2003 9:21
To: [EMAIL PROTECTED]
Subject: Re: Cocoon and interaction with the Shell


"Yves Vindevogel" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to