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.
Borna,K. and Nilforoushan,Z. (2011). A Java Pattern for File Uploading. (e216049). The CSI Journal on Computer Science and Engineering, 8(2), e216049
MLA
Borna,K. , and Nilforoushan,Z. . "A Java Pattern for File Uploading" .e216049 , The CSI Journal on Computer Science and Engineering, 8, 2, 2011, e216049.
HARVARD
Borna K., Nilforoushan Z. (2011). 'A Java Pattern for File Uploading', The CSI Journal on Computer Science and Engineering, 8(2), e216049.
CHICAGO
K. Borna and Z. Nilforoushan, "A Java Pattern for File Uploading," The CSI Journal on Computer Science and Engineering, 8 2 (2011): e216049,
VANCOUVER
Borna K., Nilforoushan Z. A Java Pattern for File Uploading. CSIonJCSE, 2011; 8(2): e216049.