jFileUploader | |
Home | License | Download | Changelog | AuthorĀ“s Home |
Introduction: jFileUploader is a pure java library that can be used to upload files to a webserver by using multipart/form-data encoding. The moethod processForm returns a Map. Download the library and add it to your project. Then uploading a file becomes as easy as the two step process below. |
|
Usage:
Return Value: map.get(myElementName) then returns the value of the form
element with name as myElementName. This is either a string or file
depending upon the form element type. If the html form has multiple
elements with the same name, e.g textboxes in a table, checkboxes etc,
then map.get(name) will return an ArrayList with the corresponding
component data type, i.e String for normal form elements and File for
input type file.
Bug reports/suggestions to Rohit Kumbhar [rohit DOT kumbhar AT gmail DOT com] Thank you to Carl Smotricz for helping me to build this tool. Enjoy Uploading!!! |