|
[Exercise | API Docs | Short Course| Exercises] Help is available for each task. Task 1
You are given the JSP page containing the form. Observe that the form posts to itself
recursively. Instantiate the bean
You can use the Task 2Deploy the JSP page within Tomcat.
Assuming you have installed Tomcat in say, Task 3
Develop the bean, Develop a bean with the names of the bean properties matching the names of the form input elements. Note that values for certain form elements like checkbox, need to be mirrored within an indexed property. Define the corresponding getter/setter methods for each property within the bean. Task 4
Compile the bean source
You can compile the bean as Task 5Deploy the bean within Tomcat.
Copy Task 6Run the example.
From your browser, access the URL Fill in data for the form input elements and hit submit. You should see the data you entered displayed at the bottom of the page. Copyright 1996-2000 jGuru.com. All Rights Reserved. | ||||||||||
|
| ||||||||||||