File Upload Test Application

This chapter provides tutorial notes and example codes on file upload test application. Topics include file upload specification, RFC 1867; HTTP POST method and multipart/form-data encryption method; dumping uploaded files back to browser; saving uploaded files on the server.

RFC 1867 - Form-based File Upload in HTML

Code 1 - Display Options - UploadInit.html

Code 2 - Display Form - UploadForm.jspx

Code 3 - Dump File - UploadDump.jspx

Test 1 - GET Method - Failed

Test 2 - POST Method - Successful

Code 4 - Save File - UploadSave.jspx

Test 3 - Save File - Successful

Code Review - UploadSave.jspx


Table of Contents

 About This Book

 JSP (JavaServer Pages) Overview

 Tomcat 7 Installation on Windows Systems

 JSP Scripting Elements

 Java Servlet Introduction

 JSP Implicit Objects

 Syntax of JSP Pages and JSP Documents

 JSP Application Session

 Managing Cookies in JSP Pages

 JavaBean Objects and "useBean" Action Elements

 Managing HTTP Response Header Lines

 Non-ASCII Characters Support in JSP Pages

 Performance of JSP Pages

 EL (Expression Language)

 Overview of JSTL (JSP Standard Tag Libraries)

 JSTL Core Library

 JSP Custom Tags

 JSP Java Tag Interface

 Custom Tag Attributes

 Multiple Tags Working Together

File Upload Test Application

 Outdated Tutorials


 PDF Printing Version