Exercises

   

Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 21.  Servlets


1:

Create a servlet that echoes your name when called.

2:

Create a servlet that lets you choose toppings on a pizza.

3:

Expand the pizza servlet to use cookies to remember your last order and ask you if you want the same toppings this time.

4:

Modify the pizza servlet to use a session to accomplish this.

5:

Move the creation of the HTML to be returned by the pizza servlet to a class in a package.


       
    Top
     



    Java 2 Primer Plus
    Java 2 Primer Plus
    ISBN: 0672324156
    EAN: 2147483647
    Year: 2001
    Pages: 332

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net