JSTL bad variable names

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top