[opencms-dev] Upload through vfs

Brabenetz, Harald harald.brabenetz at bearingpointconsulting.com
Mon Nov 22 17:23:04 CET 2010


Hi,

which Version is your commons-fileupload.jar in WEB-INF/lib?
The Version-Number is in JAR!/META-INF/MANIFEST.MF

Have you more then one commons-fileupload JAR in your lib-Folder?

DiskFileItem is deprecated in commons-fileupload 1.2.1.
Maybe, you have newer version.

Kind Regards,
Harald.

-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Madhu Yadav
Sent: Montag, 22. November 2010 08:42
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] Upload through vfs


Hi,
As you mentioned in this mail, I have tried Webform module Its working well
for all input types but for file upload  iam getting error in log as
Log error in Opencms.log file

An unexpected error occured.
java.lang.ClassCastException:
org.apache.commons.fileupload.disk.DiskFileItem
            at
com.alkacon.opencms.formgenerator.database.CmsFormDataAccess.writeFormData(CmsFormDataAccess.java:599)
            at
com.alkacon.opencms.formgenerator.CmsFormHandler.sendDatabase(CmsFormHandler.java:1133)
            at
com.alkacon.opencms.formgenerator.CmsFormHandler.sendData(CmsFormHandler.java:913)
            at
org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_opencms_formgenerator.pages.form_jsp._jspService(form_jsp.java:104)

If i Use only Email its working fine , but when i use DB than I am getting
above Error


Mario Jäger wrote:
>
> Hi Vinod,
>
> The Alkacon OAMP Webform Module provides that feature. Please, have a look
> here:
> http://www.alkacon.com/en/modules/downloads/alkacon_oamp_webform_1.3.1.html
>
> You also can download that module there. How to install and how to use
> that module is described in the documentation "Alkacon_OAMP_Webform.pdf"
> in the root directory in the downloaded zip file.
>
> --
> Kind Regards,
> Mario.
>
> -------------------
> Mario Jäger
>
> Alkacon Software GmbH  - The OpenCms Experts
> http://www.alkacon.com - http://www.opencms.org
>
>
> Am 26.10.2010 08:54, schrieb Vinod Dangudubiyyapu:
>>
>> Hi,
>>
>> I want to upload files through vfs, say I have provided to select file
>> from the server to place on webpage, how can I provide to user can
>> upload the file and select the file to display on page with out going
>> to workplace.
>>
>> Thanks and Regards
>>
>> Vinod
>>
>>
>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please
>> visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>

--
View this message in context: http://old.nabble.com/Upload-through-vfs-tp30054695p30276307.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

INFONOVA GmbH
Sitz: Unterpremstätten bei Graz
Firmenbuchgericht: Landesgericht für ZRS Graz
Firmenbuchnummer: FN 44354b

The information in this email is confidential and may be legally privileged. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.


More information about the opencms-dev mailing list