Looks like either the web browser has disabled cookies or a cookie by that name hasnt been sent with the response to the client before this JSP was called.
You could confirm this by verifying that you dont get any output while doing the same thing with scripting.
Cheers,
Roy.
Sun Certified Java Programmer 1.5,
Sun Certified Web Component Developer 5.
"No pain. No Gain"
http://cs.nyu.edu/~rpm319
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
a bit of art, as a gift, that will fit in a stocking