EC33 - Java ServerPage Programming - 2 Days

Course Description


For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.

Course Details

JSP Overview
The Problem with Servlets - Why use JSPs?
How JSP Pages Are Executed
Writing a JavaServer Page
JSP Tags, Directive Tags, Scripting Tags & Scriptlets, Action Tags
JSP Pre-Defined Objects
Including Static and Dynamic Content
Forwarding execution to Servlets, JSPxxs or HTML pages.
JSP Initialisation and Cleanup

MVC Architecture
Where are JSPs used?
JSP Design Patterns
Stand alone JSPs, JSPs calling Servlets, JSPs accessing JavaBeans
Getting data from HTML Forms to JSPs
Handling HTML Forms
Using JavaBeans
Form / Bean / JSP Interaction
Accessing JavaBeans from JSPs - JavaBean Tags
Getting Data from the Bean to the JSP Page
Variable and JavaBean Scopes
JSP Variable Scopes
JavaBean Scopes
Moving around!
Invoking a JSP from a Servlet
Passing Objects from Servlet to JSP
Passing JavaBeans from Servlet to JSP
Error Handling
The JSP Error Page
Full Shopping Cart Example

Why use Custom Tags?
How are Custom Tags implemented?
Custom Tag Elements, the Tag Library Descriptor (TLD)
The Tag Handler Class, using JavaBeans to Implement Tags

Course Enquiry