The same way you would deal with them in any other
Java code.
Test before you use the reference.
For example:
A useful idiom in JSP:
Another, to safely compare strings when the parameter might be null:
hth,
bear
[ April 11, 2002: Message edited by: Bear Bibeault ]