Suppose you want to show these anonymous users a message that says, “Hello guest.” This is a perfect place to use a default value with the c:out
tag. Just add a default
attribute, and provide the value you want to print if your expression evaluates to null: