JSTL bad variable names

Discussion in 'Java' started by Alvin Ryder, Nov 19, 2005.

  1. Alvin Ryder

    Alvin Ryder Guest

    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.
     
    Alvin Ryder, Nov 19, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robert Mark Bram

    Custom JSTL that accepts JSTL expression

    Robert Mark Bram, Dec 15, 2004, in forum: Java
    Replies:
    0
    Views:
    976
    Robert Mark Bram
    Dec 15, 2004
  2. wanwan
    Replies:
    3
    Views:
    432
    Alex Martelli
    Oct 14, 2005
  3. DaFoot
    Replies:
    1
    Views:
    1,701
    DaFoot
    Oct 23, 2008
  4. News123
    Replies:
    2
    Views:
    465
    John Machin
    Nov 26, 2008
  5. rantingrick
    Replies:
    44
    Views:
    1,225
    Peter Pearson
    Jul 13, 2010
Loading...

Share This Page