JSP Tutorials - Herong's Tutorial Examples - v5.11, by Herong Yang
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.
These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.
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
Conclusions:
Table of Contents
JSP (JavaServer Pages) Overview
Tomcat Installation on Windows Systems
Syntax of JSP Pages and JSP Documents
JavaBean Objects and "useBean" Action Elements
Managing HTTP Response Header Lines
Non-ASCII Characters Support in JSP Pages
Overview of JSTL (JSP Standard Tag Libraries)
Multiple Tags Working Together
Using Tomcat on CentOS Systems
Connecting to SQL Server from Servlet