JavaServer Pages (JSPs) offer a convenient way to isolate content from code. This tutorial begins with a quick review of servlets, then describes what JSPs are and how to use them. You will also learn about the larger issues of application and code design, how to share data among JSPs and servlets, and how to serve up XML content with JSPs. Filled with copious code illustrations from an online store example, this course gets you up to speed quickly on an important technology.
What attendees will learn
At the conclusion of this class, attendees will be able to
- Design and implement a web application
- Create JSPs
- Share information among servlets and JSPs
- Serve XML using servlets
- Design clean JSPs
- Use error pages
Tutorial outline
- How the Web works
- Servlets
- Cooperating servlets
- Servlet data sharing
- JavaServer Pages
- The four scopes
- Session tracking
- Exception handling
- Using XML
- Overview of custom tag libraries, and alternatives
- Overview of the rest of J2EE
Prerequisites
Java developers. Knowledge of servlets is a plus.