JSP Tutorials - Herong's Tutorial Examples - v5.11, by Herong Yang
Developing Web Applications with Servlet
This chapter provides tutorial notes and example codes on developing Web applications with Servlet technology. Topics include configuring multiple request URLs to a single Servlet class; detecting request URL path and other information; deploying Web application in a WAR file; client side and server side redirecting; supporting UTF8 encoding in Servlet pages.
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.
Single Servlet Class for Multiple URLs
Detect Request URL Path from Servlet
Deploy Web Applications as WAR Files
Handle HTTP POST Method in Servlet
res.sendRedirect() - Client Side Redirect
reqDispatcher.forward() - Server Side Redirect
Supporting UTF 8 in Servlet Pages
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