Java Web Application Development tutorial
Basic Information
Author: Yu Jing
Books: General Colleges and Universities Computer Science and technology application-oriented planning teaching materials
Press: Beijing University of Posts and Telecommunications Press
ISBN: 9787563522248
Mounting time:
Published on: February 1, April 2010
Start: 16
For more details, see: http://www.china-pub.com/50931
Introduction
This book aims at the current situation of large-scale development and lack of practical teaching materials in application-oriented Undergraduate Colleges.
Computer-related majors: Describes some practical technologies and system settings in Java Web application development.
Design and programming ideas, and explain javaweb development skills through a large number of practical development cases, at the same time according to the author
Provides readers with detailed programming guide and instructions in Web application development.
It helps readers quickly get started and efficiently solve practical problems.
This book mainly includes web technology overview, Java language basics, HTML/JavaScript basics, JSP
Page elements, JSP built-in objects, JDBC database access technology, JavaBean Component Technology, El expressions
Language, jstl tag library, Servlet technology, web design pattern, Web 2.0 and Ajax. Book not only
This article introduces the theoretical basis and emphasizes practical application, with special emphasis on improving the reader's usage of Java Web-related solutions.
Capability of the problem.
Directory
Chapter 2 web technology Overview
1.1 Web Application Evolution
1.2 Working Principles of JSP
1.2.1 Servlet Technology
1.2.2 JSP Lifecycle
1.3 build a web server and development environment
1.3.1 install and configure JDK
1.3.2 install and configure Tomcat
1.3.3 first JSP program
1.3.4 install and configure myeclipse and its plug-ins
1.4 Hypertext Transfer Protocol
1.4.1 HTTP Request
1.4.2 HTTP Response
1.5 summary of this Chapter
Chapter 2 basics of Java programming
2.1 Categories and objects
2.1.1 class member
2.1.2 object initialization and construction methods
2.1.3 this keyword
2.1.4 package
. 2.2 class inheritance
2.2.1 parent class and Child class
2.2.2 method Rewriting
2.2.3 super keyword
2.2.4 access modifier
2.3 abstract classes and interfaces
2.3.1 abstract classes and abstract methods
2.3.2 definition and implementation Interface
2.4 Exception Handling
2.4.1 Exception Handling Mechanism
2.4.2 use try-catch
2.4.3 multiple catch
2.4.4 use finally
2.4.5 throw and throws keywords
2.5 use a collection class to store objects
2.5.1 list set
2.5.2 set
2.5.3 map set
2.6 summary of this Chapter
Chapter 2 web page Basics
3.1 HTML Basics
3.1.1 basic structure of HTML documents
3.1.2 text paragraph Control
3.1.3 table
3.1.4 form
3.2 layout Basics
3.2.1 Table Layout
3.2.2 Div + CSS layout
3.3 simple JavaScript Application
3.3.1 what is Javascript
3.3.2 JavaScript event processing
3.3.3 JavaScript data types and variables
3.3.4 JavaScript objects and their attributes and Methods
3.3.5 Form Verification example
3.4 summary of this Chapter
Chapter 4 JSP page elements
4.1 basic structure of JSP pages
4.2 annotation element
4.3 command element
4.3.1 page command
4.3.2 include command
4.3.3 taglib command
4.4 script elements
4.4.1 statement
4.4.2 expression
4.4.3 script code
4.5 action elements
4.5.1 (JSP: Include) Action
4.5.2 (JSP: Forward) Action
4.5.3 (JSP: Param) Action
4.6 Summary of this Chapter
Chapter 2 embedded JSP objects
5.1 Introduction to built-in objects
5.2 Input and Output objects
5.2.1 request object
5.2.2 response object
5.2.3 out object
5.3 scope communication object
5.3.1 Session Object
5.3.2 Application Object
5.3.3 pagecontext object
5.4 other objects
5.4.1 Page Object
5.4.2 config object
5.4.3 exception object
5.5 use of cookies
5.6 summary of this Chapter
Chapter 4 JDBC
6.1 JDBC Overview
6.1.1 basic JDBC concepts
6.1.2 JDBC driver
6.2 java. SQL package
6.3 database operations
6.3.1 configure the ODBC Data Source
6.3.2 create a database connection
6.3.3 disable database connection
6.3.4 statement class and preparedstatement class
6.3.5 callablestatement
6.3.6 resultset result set
6.4 One JDBC instance
6.5 summary of this Chapter
Chapter 2 Application of JavaBean in JSP
7.1 overview of JavaBean
7.1.1 JavaBean Component Technology
7.1.2 JavaBean code structure
7.2 Use Javabean in JSP
7.3 JSP action and JavaBean Lifecycle
7.3.1 (JSP: usebean) Action
7.3.2 (JSP: setproperty) Action
7.3.3 (JSP: getproperty) Action
7.4 Data encapsulation JavaBean
7.4.1 Use Javabean form Interaction
7.4.2 use data passing parameters of JavaBean
7.5 encapsulate the business logic's JavaBean
7.6 Other JavaBean applications
7.6.1 send javamail-based emails to
7.6.2 Use Javabean to display data by PAGE
7.6.3 jspsmartupload-based file upload JavaBean
7.6.4 jgraph-based verification code JavaBean
7.7 Summary of this Chapter
Chapter 2 El Expression Language and jstl tag Library
8.1 El Expression Language
8.1.1 El syntax
8.1.2 El built-in object
8.2 jstl tag Library
8.2.1 introduction to jstl
8.2.2 add jstl support
8.3 core tag Library
8.3.1 General labels
8.3.2 condition label
8.3.3 iteration tag
8.3.4 URL-related tags
8.4 format tag Library
8.5 SQL tag Library
8.6 xml tag Library
8.7 custom tag Library
8.7.1 custom tag Classification
8.7.2 create a custom tag Library
8.8 summary of this Chapter
Chapter 2 servlet-based Web Development
9.1 servlet Overview
9.1.1 JSP and Servlet
9.1.2 first Servlet
9.1.3 servlet Lifecycle
9.2 process customer requests and responses
9.2.1 process customer form data
9.2.2 read HTTP request header information
9.2.3 process HTTP Response Header Information
9.2.4 servlet Communication
9.3 session management
9.3.1 session status overview
0.3.2 session status tracking API
9.4 Filter
9.4.1 create a filter
9.4.2 solve Chinese garbled characters in request data
9.5 summary of this Chapter
Chapter 2 web design mode
10.1 two models for Java Web Application Development
10.1.1 Model 1: JSP + JavaBean
10.1.2 Model 2: JSP + servlet + JavaBean
10.2 comparative analysis of two models
10.2.1 Problem description and database design
10.2.2 Using Model 1
10.2.3 Using Model 2
10.3 advantages of the MVC Mode
10.4 summary of this Chapter
Chapter 2 web 11th and Ajax
11.1 Web 2.0 Overview
11.1.1 Web 2.0 applications
11.1.2 theory and technology of Web 2.0
11.2 Ajax Introduction
11.2.1 Ajax Definition
11.2.2 how Ajax works
11.2.3 Ajax core technologies
11.2.4 Ajax Program Framework
11.3. Application Instance
11.4 summary of this Chapter
References