cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <>
Subject Re: Upload with a generator
Date Mon, 08 Sep 2003 14:39:29 GMT
What I want to do is the same thing as on the wiki site. but with a generator.

Precisely :

Put the java code in the "act" method of the upload class into my custom 
generator class.

I want that the because I need to get the upload file into SAX events.
Oh .... I'm thinking about StreamGenerator which can do this for me...

So stupid question ...Sorry.


At 09:00 08/09/2003 -0400, you wrote:
>Lionel Crine wrote:
>>I'm using cocoon 2.1 and I'm wonder if I can upload a file from an <input 
>>type="file" ...> using a generatro instead of an action ?
>Can you explain why you would want to?  Make sure you read up on the wiki 
>about file uploads in Cocoon by the way.  Cocoon has already handled the 
>upload for you (if configured to do so in web.xml).  So all you have to do 
>is act on that file (save it somewhere permanent, for example).
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message