Home Contact Resources Training Profile Clients Careers


Introduction to JSP Programming


Length: 2 days
CourseID: jsp



Prerequisites:

Participants should have experience developing java applications. Students should be comfortable writing HTML web pages and have a basic understanding of HTTP as the transport protocol.


Overview:

JSPs are Java’s answer to Active Server Pages written in Java. In the J2EE web application, they fulfill the model component of the Model View Controller design pattern. The student will design, develop and deploy J2EE compliant web applications in this class. Along with developing HTML content, the student will be pulling data from relational databases using JDBC.


Objectives:

  • Develop simple JSP Pages
  • Use basic JSP Elements to develop dynamic pages
  • Integrate JSPs with Relational Databases
  • Include and forward Requests to other JSP Pages
  • Develop a useful Tag Library
  • Maintain client state with the use of Cookies
  • Maintain state with the use of the Session Object

  • Chapters:


    Introduction to J2EE

    What is Java? What is J2EE?
    The J2EE Architecture Servlets and JSPs
    Enterprise Java Beans Application Server

    Java Server Pages (JSP)

    JSP Introduction HTTP protocol
    Simple JSP JSP Expressions <%=
    Declarations <%!, Scriptlets <%

    Advanced JSP

    Page attributes Page Import
    JSP Implicit Objects out
    response Handling Form Data

    JSP State

    Cookies Introduction Retrieving Cookies
    Setting Cookies Cookie Alternatives
    Encoding the URL Using the Session Object

    JavaBeans and JSPs

    What is a JavaBean Using a JavaBean
    Setting Javabean Properties

    JSP Error Handling

    Default JSP Exception behavior Error Page
    Using the Exception Object Using the Error Page
    Alternatives to ErrorPage

    JSP Tag Libraries

    Introduction to Tag Libraries Tag Library Components
    The TLD File The implementation Class
    The JSP File Deployment