cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: Handling a multipart/form-data post
Date Tue, 17 Jan 2006 11:43:58 GMT
make sure you have in your web.xml in the <servlet> element
 
<!--
      Causes all files in multipart requests to be processed.
      Default is false for security reasons.
      Unsupported values will be interpreted as false.
    -->
    <init-param>
      <param-name>enable-uploads</param-name>
      <param-value>true</param-value>
    </init-param>
    <init-param>
      <param-name>form-encoding</param-name>
      <param-value>utf8</param-value>
    </init-param>
 
AS

-----Original Message-----
From: Goetzmann Bertrand [mailto:bgoetzmann@sophia.symag.com]
Posted At: dinsdag 17 januari 2006 9:27
Posted To: Cocoon User List
Conversation: Handling a multipart/form-data post
Subject: Handling a multipart/form-data post



Hi again ! 

I'm in the work to integrate the FCKeditor with Cocoon (a Cocoon "connector") : this editor
can be included in a web page and the user can insert, in other things, an image by browsing
existing files on the server ; another fonctionality is to upload a file to the server. For
this a common "multipart/form-data" post goes with a request.

In Cocoon, how can we handle a such request ? 

Thank you for any precius help. 


Mime
View raw message