JSP by Example
Course Number: 688-ETI
Recommended Duration: 2 days
Intended Audience:
Developers of web applications, project leaders and managers.
Course Overview
This two-day course will enable students to create dynamic web applications. In general, the course's focus is on hands-on examples rather than lecture. Theory, design, and project management provide the necessary foundation for applications development.
Prerequisites: A working knowledge of Java, XML, SQL.
Topics
- JSP introduction
- The Java Web server
- JSP and servlets
- Syntax summary
- Working with examples: scripting elements
- The page directive
- The include directive
- JSP tags
- Expressions
- Scriptlets
- Declarations
- Handling HTML forms
- Constructing the form
- Using the GET and POST methods
- Writing a Java bean
- Moving data from the form to the bean
- Check the request object
- Moving data from the bean to the JSP page
- Using Scripting Elements
- Adding scripts
- <%, <%=, and <%!
- Mixing scripts and tags
- How scripts execute
- Exception handling
- Predefined variables
- Request
- Response
- Out
- Session
- Application
- Config
- PageContext
- Page
- Actions
- The jsp:include action
- The jsp:useBean action
- The jsp:setProperty action
- The jsp:plugin action
- JSP/Java Bean program design
- Working through an example
- Culmination of projects: using the information in an HTML form, display a JSP page with an embedded bean that will process the data. The result is displayed in a new JSP page.
|