Null values are rendered as blank text

Suppose you have a page that welcomes the user by saying “Hello <user>.” But lately, users haven’t been logging in, and the output looks pretty odd:

image with no caption

Get Head First Servlets and JSP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.