Review Topics for Exam 2
Class Page Links
Apache
-
Apache Configuration Files
-
httpd.conf
-
access.conf
-
srm.conf/access.conf
-
AddIcon
-
AddIconByType
-
HeaderName
-
ReadmeName
-
AddDescription
-
AddOutputFilter
-
AddType
-
AddLanguage
-
ErrorDocument
-
Options
-
Indexes
-
MultiViews
-
IncludesNoExec
-
IndexOptions
-
FancyIndexing
-
SuppressSize
-
SuppressLastModified
-
SuppressDescription
-
mime.types
-
Server Side Includes
Tomcat
-
Web Application Structure
-
Servlet Definition/Servlet Mapping
-
Connecting Apache to Tomcat
HTML
-
DOCTYPE and meta (know what they are and why they are needed)
-
Standard codes for a web page: HTML, HEAD, BODY, TITLE
-
Layout: BR, P
-
Anchors: A (HREF)
-
Relative and Absolute references
-
HTML forms
-
text boxes
-
hidden fields
-
submit buttons
Book
-
Chapter 3
-
3 Java Beans and Controller Helpers
-
3.1 Application: Start Example
-
3.2 Java Bean
-
3.2.1 Creating a Data Bean
-
3.2.2 Using the Bean in a Web Application
-
3.3 Application: Data Bean
-
3.3.1 Controller: Data Bean
-
3.3.2 Accessing the Bean in the JSP
-
3.3.3 JSPs: Data Bean
-
3.3.4 Try It: Data Bean
-
3.4 Application: Default Validation
-
3.4.1 Java Bean: Default Validation
-
3.4.2 Controller: Default Validation
-
3.4.3 Try It: Default Validation
-
3.5 Member Variables in Servlets
-
3.5.1 Threads
-
3.5.2 The Problem with Member Variables
-
3.5.3 Local versus Member Variables
-
3.6 Application: Shared Variable Error
-
3.6.1 Controller: Shared Variable Error
-
3.6.2 Try It: Shared Variable - Error
-
3.7 Reorganising the Controller
-
3.7.1 Creating the Helper Base
-
3.7.2 Creating the Controller Helper
-
3.7.3 JSPs: Reorganised Controller
-
3.7.4 Controller: Reorganised controller
-
3.8 Application: Reorganised Controller
-
3.8.1 Try It: Reorganised Controller
-
3.9 Model, View, Controller
-
3.10 Summary
-
3.11 Chapter Review
-
Chapter 4
-
4 Enhancing the Controller
-
4.1 Logging in Web Applications
-
4.1.1 Logging with Log4j
-
4.1.2 Configuring Log4j
-
4.1.3 Retrieving the Logger
-
4.2 Eliminating Hidden Fields
-
4.2.1 Retrieving Data from the Session
-
4.3 Specifying the Location of the JSPs
-
4.3.1 JSPs in the Directory where the Controller is Mapped
-
4.3.2 JSPs in a Different Visible Directory
-
4.3.3 JSPs in a Hidden Directory
-
4.3.4 JSPs in the Controller's Directory
-
4.3.5 Where Should JSPs be Located?
-
4.4 Controller Logic
-
4.4.1 Java Annotations
-
4.4.2 Executing the Correct Button Method
-
4.5 Filling a Bean
-
4.6 Application: Enhanced Controller
-
4.6.1 JSPs: Enhanced Controller
-
4.6.2 ControllerHelper: Enhanced Controller
-
4.6.3 Controller: Ehanced Controller
-
4.6.4 Try It: Enhanced Controller
-
4.7 Summary
-
4.8 Chapter Review