A Java Pattern for File Uploading
Abstract
The main objective of this paper is to provide a dependable, secure and strong pattern for the file uploading using Java servlets and JSP. Our pattern consists of a Java servlet, upload handler, which is responsible for managing the uploading process and a Java class, Multipart Request, for holding the uploaded files, parameters and the parsed results. Multipart request consists of a private inner class named Source, a public inner class named file info, the constructor, and some other methods in order to describe the files encapsulated in the request. Our pattern and its performance is based on the high functionality of maps.
Keywords
File Uploading, Hash Map Data Structure, Java Programming Language, Java Servlet, Performance