Class 2 |
Intermediate Java 30-IT-397 |
|
Class 8 Open Lab Exercises
-
Try the servlet exercise using web.xml.
-
Take a look at Forms and Servlets.
-
Add a field, called color, where the user can enter his or her favorite
color. Then, use that color for the font color (or the background
color of the page) in your HTML.
-
Try out the Good Morning
message. Change the greeting to be more generic.
-
Using the Fahrenheit-Celcius converter as a model,
accept a number as input on the HTML form, and return the square of that
number.
-
Using the time of day greeting, accept a day of
the week from the user, via an HTML form. Then, display possible
activities that could happen according to the day. For example, Saturday
might be cut the grass, Wednesday might be go to class, Friday - drink
a beer, etc.

Created by: Brandan Jones
December 17, 2001