scalatra/scalatra — pull request #170 by mnylen (2012-04-09 13:50:39+00:00)
Title: File uploading using Servlet 3.0 API

Replaces commons-fileupload by using Servlet 3.0 APIs multipart capabilities

Some possible downsides to actually taking this into use:

- Jetty currently doesn't seem to respect `` for ``. It actually doesn't even require `` to be set in web.xml - it just happily does multipart automatically

- Users need to add `with FileUploadSupport` **and** `@MultipartConfig` annotation to their servlets OR add `` to their web.xml

However, apart from the setup, changing to this implementation shouldn't break too many applications, as the `FileItem` class instances available from `fileParams` have most of the same methods as the commons-fileupload's `FileItem` class had