Beginning JSP JSF and Tomcat Java Web Development 2nd Edition by Giulio Zambon – Ebook PDF Instant Download/Delivery:1430246243, 9781430246244
Full download Beginning JSP JSF and Tomcat Java Web Development 2nd Edition after payment
Product details:
ISBN 10: 1430246243
ISBN 13: 9781430246244
Author: Giulio Zambon
Table of contents:
Chapter 1: Introducing JSP and Tomcat
Installing Java
Java Test
Installing Tomcat
Simple Tomcat Test
What Is JSP?
Viewing a JSP Page
Hello World!
Listing the HTML-Request Parameters
Summary
Chapter 2: JSP Elements
Introduction
Scripting Elements and Java
Scriptlets
Expressions
Declarations
Data Types and Variables
Objects and Arrays
Operators, Assignments, and Comparisons
Selections
Iterations
Implicit Objects
The application Object
Example: Using an Attribute to Enable and Disable Conditional Code
Example: Using an Attribute to Control Logging
The config Object
The exception Object
The out Object
The pageContext Object
The request Object
More on Request Parameters and Client Info
Example: Listing the Headers
Example: User Authentication
Example: Reading the Request Body
The response Object
The session Object
Directive Elements
The page Directive
The include Directive
The taglib Directive
Summary
Chapter 3: JSP Application Architectures
The Model 1 Architecture
The Model 2 Architecture
The E-bookshop Home Page
The E-bookshop Servlet
More on E-bookshop
E-bookshop’s Folder Structure
Eclipse
Creating a New Web Project
Importing a WAR file
Eclipse Occasional Bugs
A Better Online Bookshop
Objects and Operations
Product Categories
Books
Shopping Cart
Order
The Customer Interface
The E-shop Architecture
The Model
The Controller
Servlet Initialization
Request Handling
The View
Summary
Chapter 4: JSP in Action
JSP Standard Actions
Actions: forward, include, and param
Action: useBean
Actions: setProperty and getProperty
Action: text
Actions: element, attribute, and body
Actions: plugin, params, and fallback
Comments and Escape Characters
JSP’s Tag Extension Mechanism
Bodyless Custom Actions
Step 1: Define the Tag Handler
Step 2: Define the TLD
Step 3: Use the Custom Action
Bodied Custom Actions
Step 1: Define the Tag Handler
Step 2: Define the TLD
Step 3: Use the Custom Action
Tag Files
Bodyless Tag
Bodied Tag
The tag Directive
The attribute Directive
The variable Directive
JSTL and EL
JSP Expression Language
EL Expressions
Using EL Expressions
JSP Standard Tag Library
The Core Library
c:out, c:set, and c:forEach (and fn:length)
c:if, c:choose, c:when, and c:otherwise
c:catch, c:remove, and c:url
c:import, c:redirect, and c:param
c:forTokens
The i18n Library: Writing Multi-Lingual Applications
fmt:setLocale, fmt:setBundle, fmt:setMessage, and fmt:param
fmt:bundle, fmt:setTimeZone, and fmt:timeZone
fmt:parseNumber and fmt: formatNumber
fmt:ParseDate, fmt:formatDate, and fmt:requestEncoding
Summary
Chapter 5: XML and JSP
The XML Document
Defining Your Own XML Documents
XML DTDs
XML Schemas
Occurrence Constraints
Primitive and Derived Types
Simple Types
Complex Types
Validation
Using JSP to Validate XML against a DTD
Using JSP to Validate XML against a Schema
JSTL-XML and XSL
XPath
An XPath Example
x:parse
XSLT: Transformation from One XML Format to Another
XSLT: Transformation from XML to HTML
XSL Transformation: Browser Side vs. Server Side
Browser-Side XSL Transformation
Server-Side XSL Transformation
x:transform and x:param
JSP in XML Syntax
Summary
Chapter 6: Databases
MySQL
MySQL Test
MySQL/Tomcat Test
Database Basics
SQL Scripts
Java API
Connecting to the Database
Accessing Data
The executeQuery Method
The executeUpdate Method
Transactions
DB Access in E-shop
What about the XML Syntax?
Possible Alternatives to MySQL
Summary
Chapter 7: JavaServer Faces 2.2
The simplef Application
An Alternative to
The simplefx and simpleh Applications
The JSF Life Cycle
Event Handling
The JSF Tag Libraries
The html Library
The h:select* Elements
The core Library
What’s Ajax?
f:ajax
The facelet Library
The composite Library
Some Examples
Summary
Chapter 8: JSF and eshop
eshopf
The Top Menu
The Left Menu (part 1)
The Shop Manager
The Left Menu (part 2)
The Checkout Page
web.xml
Using and Creating Converters
Writing the Converter in Java
Registering the Converter with the Application
Using the Converter
Using and Creating Validators
Built-In Validators
Application-Level Validation
Custom Validators
Validation Methods in Backing Beans
Creating Custom Components
Component
Renderer
Tag
Inline Renderer
faces-config.xml
Summary
Chapter 9: Tomcat
Tomcat’s Architecture and server.xml
Context
Connector
Host
Engine
Service
Server
Listener
Global Naming Resources
Realm
Cluster
Valve
Loader and Manager
Directory Structure
conf
lib
logs
webapps
work
Logging the Requests
Tomcat on Port 80
Creating a Virtual Host
HTTPS
Application Deployment
Summary
Chapter 10: eshop*
The eshop Application
What Happens When the Application Starts
Handling Requests for Book Selection and Book Search
Displaying the Book Details
Managing the Shopping Cart
Accepting an Order
Providing the Payment Details
The eshopx Application
Style Sheet
web.xml
JSP Documents
Custom Tags and TLD
The eshopf Application
web.xml and context.xml
Style Sheet
JSP Documents
Java Modules
Summary
Appendix A: The Web Page
The WWW Network
URLs, Hosts, and Paths
XHTML vs HTML
XHTML/HTML Elements
HTML5
HTML Documents
Standard Attributes
Core Attributes
class
id
style
title
Language Attributes
dir
lang
Keyboard Attributes
accesskey
tabindex
Event Attributes
Object Event Attributes
Form Event Attributes
Keyboard Event Attributes
Mouse Event Attributes
Tables
Table Structure
Table Width
Table Borders
Row and Cell Alignment
align, char, and charoff
valign
abbr and axis
colspan and rowspan
headers
scope
Columns
Column Groups
Table Header, Body, and Footer
Input Forms
Buttons and Images
Lists
Image Maps
Splitting an Image with a Table
Using an Image Map with a Table or a List
Using an Image Map with Areas
The Bottom Line
Cascading Style Sheets
Style Syntax
Placing Styles
HTML Elements div and span
Using a Style Sheet to Implement Tabs
JavaScript
Placing JavaScript Inside a Web Page
Responding to Events
Checking and Correcting Dates
Animation: Ticker Tape
Animation: Bouncing Balls
Appendix B: SQL Practical Introduction
SQL Terminology
Transactions
Conventions
Statements
The WHERE Condition
Data Types
Numbers
Date and Time
Text
Large Objects
People also search for:
tomcat jsp example
beginning jsp jsf and tomcat
java web development examples
jsp vs jsf which is better
beginning jsp jsf and tomcat java web development pdf
Tags:
Giulio Zambon,Beginning,Tomcat