if exists $var

"Ken McCloskey" <[email protected]> Mon, 21 Jul 2003 21:37:10 +0000
Newsgroups gmane.text.xml.o-xml
Message-ID <[email protected]>
Martin,

I didn't see an answer to this in the documentation, though I may have 
missed it...

How do I check whether a variable exists or not (== null)?

I'm using the ObjectBox servlet and the $servlet variable to read the 
name/value pairs from the query string. But if the user calls a URL that 
doesn't have all the query string variables I'm looking for, I want to use 
defaults.

Ken

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail