Search the mailing list for this topic. There have been multiple hits on the turbine mailing list on how to solve this.

----- Original Message ----- From: "Veerappan Sridhar" <[EMAIL PROTECTED]> To: <[email protected]>; <[email protected]>; <[email protected]>
Sent: Tuesday, July 26, 2005 9:29 AM
Subject: How to hold multiple files in single #fileupload in velocity


Hi,
1) pls clear my doubt.Here i have single #fileupload and file, file
holds only single value, but i want to hold multiple value in this
file.how to do that?
<tr>
       #fileUpload ("File" "file")
</tr
or
2)i hold multiple files in in a text area, how to parse String to
getFileItem(..),since it is throwing an exception.


FileItem fileItem = params.getFileItem("file");
fileItem.write(new
File(TurbineServlet.getRealPath("/uploaded.file")));

Thanks and Regards
Sridhar



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to