FileUploadfor use in servlets conforming to JSR 53.
A servlet context listener, which ensures that the
High level API for processing file uploads.
Provides access to the request information needed for a request made to an HTTP servlet.
An implementation of
for use in servlets conforming to JSR 53. This implementation requires
only access to the servlet's current
instance, and a suitable
implementation, such as
The following code fragment demonstrates typical usage.
DiskFileItemFactory factory = new DiskFileItemFactory(); // Configure the factory here, if desired. ServletFileUpload upload = new ServletFileUpload(factory); // Configure the uploader here, if desired. List fileItems = upload.parseRequest(request);
Please see the FileUpload User Guide for further details and examples of how to use this package.
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.