jFileUploader | |
Home | License | Download | Changelog | AuthorĀ“s Home |
Modifications
in 0.2:
1. The method arguments of processForm method are now HttpServletRequest object and the absolute path of the directory to upload files to. This has removed the necessity of passing the application name and the magic-string "uploads" Not to mention the cleanup of code. 2. Duplicate form names are now supported. 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. 3. A new exception class [UploadException] has been created. It isn't much useful now but plan to add errorcodes later so that exceptions with specific error codes may be ignored. 1. Respecting the OOP model, the method processForm is no
more static. Users will now have to do a 2. The pre-upload check now throws an exception with a more specific error message. 1. Changed according to the updated UploadException. Now throwing exception with an error code 1. Changed the return type of method decodeDisposition(). This method now returns a string array of size two populated with name and filename, null if filename is absent from the disposition string |