Beginning JSP, JSF and Tomcat Java web development
Start building Java–based web applications now, even if you’re a complete newcomer to Java. Comprehensive and example–driven, Beginning JSP, JSF, and Tomcat: Java Web Development, Second Edition is all you need to develop dynamic Java-based web applications using JSP, connect to databases with JSF,...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
[Berkeley, Calif.] :
Apress
2012.
|
Edición: | 2nd ed. 2012. |
Colección: | The Expert's voice in Java Beginning JSP, JSF and Tomcat
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628578306719 |
Tabla de Contenidos:
- Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewers; 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 CodeExample: 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 PageThe 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 bodyActions: 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