English French German Italian Portuguese Russian Spanish

logo_old

  • Java Training

    javaInterSource offers live instructor-led courses on all important Java-related technologies, including Apache Struts, Enterprise Java Beans (EJB), J2SE Desktop Java Enterprise Edition (Java EE), Java Fundamentals, Java Web Services, JavaServer Faces, JBoss, Java Server Pages (JSP), and Spring.

    Please refer to our detailed course outlines below.

  • About Java

    Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture

    Java is general-purpose, concurrent, class-based, and object-oriented, and is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere". Java is considered by many as one of the most influential programming languages of the 20th century, and widely used from application software to web application.

    Read More

  • Course Details Java

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

Introduction to JavaServer Pages

 PDF PrintEmail

Course duration

  • 2 Days

Course Outline

This two-day module introduces JavaServer Pages, or JSP, which is the standard means of authoring dynamic content for Web applications under the Java Enterprise platform. The module begins with an introduction of Web applications in general, shows how Java servlets and JSPs establish a framework for writing Web applications, and then covers JSP 2.0 features in detail, from scripting elements to use of dedicated JavaBeans to JSP expressions, and quick introductions of JSTL and custom tag development.

By the end of the module students will be able to create their own JSP applications, including interactive applications using HTML forms and pages that perform fairly complex processing using scripts and or actions. Although scripting is covered, the scriptless authoring style encouraged by the JSP 2.0 specification is emphasized, and students will be well equipped to develop concise and effective JSP applications.

  • Explain the fundamentals of HTML and HTTP in the World Wide Web.
  • Describe the CGI and its role in implementing interactive Web applications.
  • Describe JavaServer Pages and their relationship to servlets and J2EE generally.
  • Describe how a JSP is translated into a servlet and processed at runtime.
  • Explain the use of directives on JSPs and outline the principal directives.
  • Implement simple JSPs that use Java code in declarations, expressions and scriptlets.
  • Enumerate and use the implicit objects available to scripting elements.
  • Explain the use of HTML forms in Web applications.
  • Implement an interactive Web application using JSP.
  • Use Java exception handling and JSP error pages to handle errors in JSP applications.
  • Implement session management for a JSP application.
  • Manage cookies to store client-specific information at various scopes and durations.
  • Explain the use of JavaBeans in JSP and their role in enhancing the separation of business logic from page design.
  • Use Beans to implement effective interactive JSP applications.
  • Describe the use of the JSP expression language in simplifying dynamic page output.
  • Write JSP expressions and implement JSPs that use them in favor of scripts.
  • Describe the role of the JSP Standard Tag Library in JSP development.
  • Implement JSPs that use basic JSTL actions to simplify presentation logic.
  • Describe custom tags in JSP and explain how they are implemented, both using Java and JSP itself, and how they are used.
  • Discuss threading issues in JSP and describe the use of directives to control how threading is handled.
  • Describe the various uses of XML in JSP applications.
  • Deploy a logical Web application to a Web server in a WAR file.
  • Knowledge of HTML and background in Web applications will be helpful but is not strictly necessary. Deep Java experience is not required, but some familiarity with the language is recommended for some of the exercises.
  1. Web Applications
    1. The World Wide Web
    2. HTML
    3. Web Servers
    4. HTTP
    5. Dynamic Web Pages
    6. CGI
    7. Java Web Technologies
    8. Servlets
    9. JSP
  2. JSP Architecture
    1. JSP Containers
    2. Servlet Architecture
    3. Page Translation
    4. Types of JSP Content
    5. Directives
    6. Content Type
    7. Buffering
    8. Scripting Elements
    9. JSP Expressions
    10. Standard Actions
    11. Custom Actions and JSTL
    12. Objects and Scopes
    13. Implicit Objects
    14. JSP Lifecycle
  3. Scripting Elements
    1. Translation of Template Content
    2. Scriptlets
    3. Expressions
    4. Declarations
    5. Dos and Don'ts
    6. Implicit Objects for Scriptlets
    7. The request Object
    8. The response Object
    9. The out Object
  4. Interactive JSP Applications
    1. HTML Forms
    2. Reading CGI Parameters
    3. JSPs and Java Classes
    4. Error Handling
    5. Session Management
    6. The Session API
    7. Cookies and JSP
  5. Using JavaBeans
    1. Separating Presentation and Business Logic
    2. JSP Actions
    3. JavaBeans
    4. Working with Properties
    5. <jsp:useBean>
    6. <jsp:getProperty> and <jsp:setProperty>
    7. Using Form Parameters with Beans
    8. Objects and Scopes
    9. Working with Vectors
  6. The Expression Language and the JSTL
    1. Going Scriptless
    2. The JSP Expression Language
    3. EL Syntax
    4. Type Coercion
    5. Error Handling
    6. Implicit Objects for EL
    7. The JSP Standard Tag Library
    8. Role of JSTL
    9. The Core Actions
    10. Using Beans with JSTL
    11. The Formatting Actions
    12. Scripts vs. EL/JSTL
  7. Advanced JSP Features
    1. Web Components
    2. Forwarding
    3. Inclusion
    4. Passing Parameters
    5. Custom Tag Libraries
    6. Tag Library Architecture
    7. Implementing in Java or JSP
    8. Threads
    9. Strategies for Thread Safety
    10. XML and JSP
    11. JSP for Web Services

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.