velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veerappan Sridhar" <vsrid...@novell.com>
Subject How to hold multiple files in single #fileupload in velocity
Date Tue, 26 Jul 2005 14:29:19 GMT
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: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message