JavaServerPages (JSPs)

LENGTH OF COURSE:
3 Days

DESCRIPTION: This course is designed to teach the student how to interleave HTML documents with Java to produce dynamic content Web pages. JSPs are server-side applications that accept a request and generate a response. The student will use the Apache Tomcat Web Server to emulate a production Web Environment. From beginner to experience HTML developer, students will find this course extremely beneficial for developing enterprise Web Pages.

PREREQUISITES: Some knowledge of Internet Terminolgy and HTML.

INSTRUCTION TECHNIQUES: This course includes Lecture, and Extensive Interactive Labs. Students will create many interactive JSP Pages using the various techniques taught in the course. Students will need to have access to any text editing tool and a Web Browser. NetScape and Internet Explorer are prefered. The customer will be ask to load Apache Tomcat or comparable web server software on their machines.

AUDIENCE

This course is designed for student that needs to design, code, test and install JavaServer Pages.
KEY HIGHLIGHTS:

  • Introduction to Web Applications
    • What are JavaServer Pages?
    • Evolution of the Web
    • Java 2 Enterprise Edition
    • What are Application Servers
  • Building your First JSP
    • A Review of HTML
    • Comparing JSPs and CGI Programs
    • Comparing JSPs and ASPs
    • Creating Your First JSP
    • Setting Up Apache's Tomcat
  • Introduction to Servlets
    • What Is a Servlet?
    • How JSPs Become Servlets
    • Basic Structure of an HttpServlet
    • Translating a Simple JSP into a Servlet
  • Configuring Application Servers
    • Configure BEA WebLogic Server
    • Deploying a JSP on WLS
  • Understanding the JSP Application Models
    • What are Application Models?
  • Understanding the Layout of a JSP
    • Using Tags and Attribute Values
    • Adding Comments to the Code
    • Dissecting a JSP
    • Using the JSP Built-in Objects
    • Understanding JSPs and JavaBeans


  • Declaring Variables and Methods in a JSP
    • Using the Declaration Tags
    • Declaring Variables and Methods in a JSP
  • Inserting Java Expressions in a JSP
    • The JSP Expression Tags
    • Referencing a Variable from an Expression
    • Calling Methods from an Expression
  • Controlling JSPs with Java Scriptlets
    • Scriptlets
    • Selection Control Structures
    • Iteration Control Structures
  • Processing Requests from the User
    • Understanding User Requests
    • Creating User Requests
    • Extracting Path and URL Information
    • Extracting Host and Port Information
    • Parsing Parameters in the Query String
    • Using HTML Forms
  • Generating a Dynamic Response for the User
    • Generating Dynamic Content
    • A Configurable Home Page
  • Configuring and Initializing JSPs


  • Creating Error Pages
  • Inserting Applets into Your JSPs
  • Using JavaBeans in a JSP
    • Understanding JavaBeans and JavaBean Scope
    • Setting and Getting JavaBean Properties
  • Accessing a Database from a JSP
    • Creating a Database
    • Java Database Connectivity (JDBC)
    • Connecting to the Database
    • Interacting with the Database with the Statement Object
    • Navigating Query Results with the ResultSet Object
  • Substituting Text in a JSP
  • Extending JSP Functionality
  • Using Multiple JSPs to Handle the Request
  • Creating an Enterprise Application

Return to Home Page.
Return to Alphabetic Listing of Courses.
Return to Courses by Subject.
Request More Information or Contact Us.