Duration
5 days
Overview
Java™ servlets and Java server pages (JSPs) are Java programs that run on a Java application server and extend the capabilities of the Web server.
Java servlets are Java classes that are designed to respond to HTTP requests in the context of a Web application.
You can look at JSPs as an extension of HTML that gives you the ability to seamlessly embed snippets of Java code within your HTML pages. These bits of Java code generate dynamic content, which is embedded within the other HTML/XML content. A JSP is translated into a Java servlet and executed on the server. JSP statements embedded in the JSP become part of the servlet generated from the JSP. The resulting servlet is executed on the server.
Introduction
- Servlet/JSP Application Architecture
- The Hypertext Transfer Protocol (HTTP)
- 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
- Session Management
- URL Rewriting
- Hidden Fields
- Cookies
- HttpSession Objects
- JavaServer Pages
- An Overview of JSP
- Comments
- Implicit Objects
- Scripting Elements
- Actions
- 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 Version
- JSTL
- Downloading JSTL
- JSTL Libraries
- General-Purpose Actions
- Conditional Actions
- Iterator Actions
- Formatting Actions
- Functions
- Writing Custom Tags
- Custom Tag Overview
- Simple Tag Handlers
- Simple Tag Example
- Handling Attributes
- Manipulating the Tag Body
- Writing EL Functions
- Distributing Custom Tags
- Tag Files
- Introduction to Tag Files
- Your First Tag Files
- Tag File Directives
- doBody
- invoke
- Listeners
- Listener Interfaces and Registration
- Servlet Context Listeners
- Session Listeners
- ServletRequest Listeners
- Filters
- The Filter API
- Filter Configuration
- Example: Logging Filter
- Example: Image Protector Filter
- Example: Download Counter Filter
- Filter Order
- Decorating Requests and Responses
- The Decorator Pattern
- Servlet Wrapper Classes
- Example: AutoCorrect Filter
- Asynchronous Processing
Overview
- Writing Async Servlets and Filters
- Writing Async Servlets
- Async Listeners
- Security
- Authentication and Authorization
- Authentication Methods
- Secure Sockets Layers (SSL)
- Programmatic Security
- Deployment
- Deployment Descriptor Overview
- Deployment
- Web Fragments
- Dynamic Registration and Servlet Container Initializers
- Dynamic Registration
- Servlet Container Initializers
Programme scope, delivery arrangements and suitability are confirmed during enquiry.