JSP Tutorials - Herong's Tutorial Examples - v5.11, by Herong Yang
Managing HTTP Response Header Lines
This chapter provides tutorial notes and example codes on HTTP response header lines. Topics include what is an HTTP response; what are response header line; controlling response header lines; viewing entire HTTP response message; 'page contentType' directive element; response object methods to change header lines; returning non-HTML response body; returning attachments for downloads.
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.
What Is HTTP Response
HTTP Response Header Lines
Controlling Response Header Lines
Viewing Response Header Lines
Response Header Lines of Static Files
Response Header Lines Controlled by "page" Directive
Response Header Lines Controlled by response Object
Accessing File System from JSP Pages
Returning non-HTML Response Body
Returning Attachments for Web Download
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