You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sternath Elmar <el...@siemens.com> on 2002/12/10 16:46:45 UTC

cocoon-2.0.4 problem with multipart file upload

Hello,

after cocoon-2.0.4 upgrade the following check inside my self-implemented UploadGenerator (transfers an uploaded multipart file to a backend server, receives an XML response from the backend server and transforms it into HTML) does not become true any more: 
if (request.get(parameterNames[i]) instanceof FilePartFile) { ...

Have there been made any changes in cocoon-2.0.4 in this context?

Mit freundlichen Grüßen/ Best regards
Elmar Sternath

Siemens AG
Information and Communication Networks
ICN IT CA EB 2 - Web Applications
Mch H/Me19 - 99801-231a

Meglinger Straße 19 (99801-231a) D-84577 München
Tel.:   +49(89)722-24045
Mobil: +49(0)160-5860351
Fax.:  +49(89)722-53384
EMail: Elmar.Sternath@siemens.com

 <<Sternath Elmar.vcf>> 

RE: cocoon-2.0.4 problem with multipart file upload

Posted by Geoff Howard <co...@leverageweb.com>.
Yes, maybe.  Check to make sure that the new upload settings in web.xml (new
in 2.0.4) are set to allow uploads.  There are several init-params (such as
autosave-uploads), and down later in web.xml there is a configuration for
the request factory implementation.  The comments in web.xml should give a
good clue about their meaning.  I didn't think the default setting was
changed, although it probably should be.

Does the file upload sample still work?

Geoff Howard

-----Original Message-----
From: Sternath Elmar [mailto:elmar.sternath@siemens.com]
Sent: Tuesday, December 10, 2002 10:47 AM
To: 'cocoon-users@xml.apache.org'
Subject: cocoon-2.0.4 problem with multipart file upload


Hello,

after cocoon-2.0.4 upgrade the following check inside my self-implemented
UploadGenerator (transfers an uploaded multipart file to a backend server,
receives an XML response from the backend server and transforms it into
HTML) does not become true any more:
if (request.get(parameterNames[i]) instanceof FilePartFile) { ...

Have there been made any changes in cocoon-2.0.4 in this context?

Mit freundlichen Grüßen/ Best regards
Elmar Sternath

Siemens AG
Information and Communication Networks
ICN IT CA EB 2 - Web Applications
Mch H/Me19 - 99801-231a

Meglinger Straße 19 (99801-231a) D-84577 München
Tel.:   +49(89)722-24045
Mobil: +49(0)160-5860351
Fax.:  +49(89)722-53384
EMail: Elmar.Sternath@siemens.com

 <<Sternath Elmar.vcf>>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>