Cover image for Servlet & JSP : A Tutorial.
Servlet & JSP : A Tutorial.
Title:
Servlet & JSP : A Tutorial.
Author:
Kurniawan, Budi.
Personal Author:
Physical Description:
1 online resource (727 pages)
Series:
A Tutorial
Contents:
Cover Page -- Title Page -- Copyright Page -- Table of Contents -- Introduction -- Servlet/JSP Application Architecture -- The Hypertext Transfer Protocol (HTTP) -- About This Book -- Downloading the Sample Applications -- Choosing a Framework -- Chapter 1: Servlets -- Servlet API Overview -- Servlet -- Writing A Basic Servlet Application -- ServletRequest -- ServletResponse -- ServletConfig -- ServletContext -- GenericServlet -- HTTP Servlets -- Working with HTML Forms -- Using the Deployment Descriptor -- Summary -- Chapter 2: Session Management -- URL Rewriting -- Hidden Fields -- Cookies -- HttpSession Objects -- Summary -- Chapter 3: JavaServer Pages -- An Overview of JSP -- Comments -- Implicit Objects -- Directives -- Scripting Elements -- Actions -- Summary -- Chapter 4: The Expression Language -- The Expression Language Syntax -- Accessing JavaBeans -- EL Implicit Objects -- Using Other EL Operators -- Using the Expression Language -- Configuring the EL in JSP 2.0 and Later Versions -- Summary -- Chapter 5: JSTL -- Downloading JSTL -- JSTL Libraries -- General-Purpose Actions -- Conditional Actions -- Iterator Actions -- Formatting Actions -- Functions -- Summary -- Chapter 6: Writing Custom Tags -- Custom Tag Overview -- Simple Tag Handlers -- SimpleTag Example -- Handling Attributes -- Manipulating the Tag Body -- Writing EL Functions -- Distributing Custom Tags -- Summary -- Chapter 7: Tag Files -- Introduction to Tag Files -- Your First Tag File -- Tag File Directives -- doBody -- invoke -- Summary -- Chapter 8: Listeners -- Listener Interfaces and Registration -- Servlet Context Listeners -- Session Listeners -- ServletRequest Listeners -- Summary -- Chapter 9: Filters -- The Filter API -- Filter Configuration -- Example 1: Logging Filter -- Example 2: Image Protector Filter -- Example 3: Download Counter Filter -- Filter Order.

Summary -- Chapter 10: Application Design -- Model 1 Overview -- Model 2 Overview -- Model 2 with A Servlet Controller -- Model 2 with A Filter Dispatcher -- Validators -- Database Access -- Dependency Injection -- Summary -- Chapter 11: File Upload -- Client Side Programming -- Server Side Programming -- Upload Servlet Example -- Multiple Uploads -- Upload Clients -- Summary -- Chapter 12: File Download -- File Download Overview -- Example 1: Hiding A Resource -- Example 2: Preventing Cross-Referencing -- Summary -- Chapter 13: Decorating Requests and Responses -- The Decorator Pattern -- Servlet Wrapper Classes -- Example: AutoCorrect Filter -- Summary -- Chapter 14: Asynchronous Processing -- Overview -- Writing Async Servlets and Filters -- Writing Async Servlets -- Async Listeners -- Summary -- Chapter 15: Security -- Authentication and Authorization -- Authentication Methods -- Secure Sockets Layer (SSL) -- Programmatic Security -- Summary -- Chapter 16: Deployment -- Deployment Descriptor Overview -- Deployment -- Web Fragments -- Summary -- Chapter 17: Dynamic Registration and Servlet Container Initializers -- Dynamic Registration -- Servlet Container Initializers -- Summary -- Chapter 18: Introduction to Struts 2 -- The Benefits of Struts 2 -- How Struts 2 Works -- Interceptors -- Struts 2's Configuration Files -- A Simple Struts Application -- Summary -- Appendix A: Tomcat -- Downloading and Configuring Tomcat -- Starting and Stopping Tomcat -- Defining A Context -- Defining A Resource -- Installing SSL Certificates -- Appendix B: Web Annotations -- HandlesTypes -- HttpConstraint -- HttpMethodConstraint -- MultipartConfig -- ServletSecurity -- WebFilter -- WebInitParam -- WebListener -- WebServlet -- Appendix C: SSL Certificates -- Certificate Overview -- The KeyTool Program -- Index.
Abstract:
Servlet and JavaServer Pages (JSP) are the underlying technologies for developing web applications in Java. They are essential for any programmer to master in order to effectively use frameworks such as JavaServer Faces, Struts 2, or Spring MVC. Covering Servlet 3.0 and JSP 2.2, this book explains the important programming concepts and design models in Java web development as well as related technologies and new features in the latest versions of Servlet and JSP. With comprehensive coverage and a lot of examples, this book is a guide to building real-world applications. Topics discussed in this book include: - The Servlet API - JSP syntax and scripting elements. - Session management - The Expression Language - JavaServer Pages Standard Tag Library (JSTL) - Custom tags and tag files - Filters and listeners - Application design - Connection pooling - Dependency injection - File upload and programmatic file download - Asynchronous processing - Security - Deployment and the deployment descriptor - Dynamic registration - Servlet container initializers.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: