![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Exercise OutlineWelcome to the jGuru exercises for the JavaServer PagesTM Fundamentals Short Course. These exercises demonstrate how to use Tomcat -- the JSP 1.1 Reference Implementation, as well as how to design, implement, and deploy JSPs. When you finish these exercises, you will know the basic steps for designing, compiling, and deploying JSP web components. About ExercisesA jGuru exercise is a flexible exercise that provides varying levels of help according to the student's needs. Some students may complete the exercise using only the information and the task list in the exercise body; some may want a few hints (Help); while others may want a step-by-step guide to successful completion (Solution). Since complete solutions are provided in addition to help, students can skip an exercise and still complete later exercises that required the skipped one(s). The Anatomy of an ExerciseEach exercise includes a list of any prerequisite exercises, a list of skeleton code to start with, links to necessary API pages, and a text description of the exercise's educational goal. In addition, buttons link you to the following information:
Exercise Design GoalsThere are three fundamental exercise types that you may encounter:
To make learning easier, exercises, where possible, address only the specific technique being taught in that exercise. Irrelevant, unrelated, and overly complex materials are avoided. Where possible, exercises execute on the Web. However, exercises that must access Java features or library elements that could cause security violations are not executed on the web. JavaServer Pages Fundamentals ExercisesExercises
This exercise steps you through the process of downloading and installing Tomcat--the JSP 1.1 Reference Implementation (RI). Tomcat comprises of a simple HTTP server as well as a Web container that can run JSP pages and servlets. Tomcat supports the Servlet 2.2 and JSP 1.1 specifications. We use this server for the subsequent exercises. Educational goal(s):
In this exercise you learn how to redirect runtime exceptions occurring within a JSP page to an error handling page. Educational goal(s):
In this exercise you observe the behavior of a Counter bean when used within a JSP page with different scope attributes. Educational goal(s):
In this exercise you learn how to process HTML forms using JSPs, and understand the introspective features provided by the JSP engine. Educational goal(s): Copyright 1996-2000 jGuru.com. All Rights Reserved. |