A
Alvin Ryder
Hi,
Is there a way to make JSTL throw exceptions if variables are null or
not declared?
JSTL normally tries to find a variable if it fails it'll just suffers
in silence, nulls, mistyped or nonexistent variables all act like a
blanks.
The problem is in large applications if you rename a variable in the
model it's hard to know exactly which pages use that variable, you
might not change all instances and because there's no warning, error or
log the problem becomes insidious. Things just don't work anymore and
you don't know why.
Thanks in advance,
Cheers.
Is there a way to make JSTL throw exceptions if variables are null or
not declared?
JSTL normally tries to find a variable if it fails it'll just suffers
in silence, nulls, mistyped or nonexistent variables all act like a
blanks.
The problem is in large applications if you rename a variable in the
model it's hard to know exactly which pages use that variable, you
might not change all instances and because there's no warning, error or
log the problem becomes insidious. Things just don't work anymore and
you don't know why.
Thanks in advance,
Cheers.