[opencms-dev] How does multipart/form-data form work with OpenCms

Thomas Maerz thomasmaerz at gmx.de
Thu Jun 2 10:56:06 CEST 2005


Tibor Gyimesi <gyimesi at eutecus.com> writes:

> And the org.apache.common.fileupload is included in the opencms. So, I 

This works for me.

| HttpServletRequest request = cms.getRequest(); 
| DiskFileUpload upload = new DiskFileUpload();
| 
| List fileItems = null;
| try 
| {
|     fileItems = upload.parseRequest( request );
| }
| catch ( FileUploadException e ) 
| {
| }


Regards,
Thomas




More information about the opencms-dev mailing list