Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JSTL bad variable names

Reply
Thread Tools

JSTL bad variable names

 
 
Alvin Ryder
Guest
Posts: n/a
 
      11-19-2005
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(struts/JSTL) Setting bean property value with jstl choose compoundresults DaFoot Java 1 10-23-2008 12:42 PM
ActiveX apologetic Larry Seltzer... "Sun paid for malicious ActiveX code, and Firefox is bad, bad bad baad. please use ActiveX, it's secure and nice!" (ok, the last part is irony on my part) fernando.cassia@gmail.com Java 0 04-16-2005 10:05 PM
24 Season 3 Bad Bad Bad (Spoiler) nospam@nospam.com DVD Video 12 02-23-2005 03:28 AM
24 Season 3 Bad Bad Bad (Spoiler) nospam@nospam.com DVD Video 0 02-19-2005 01:10 AM
Custom JSTL that accepts JSTL expression Robert Mark Bram Java 0 12-15-2004 12:26 AM



Advertisments