I just found out about two nice functions in railo:

  • isNull()
  • nullValue()

Finally, a way to interact with java nulls easily. So all you do to create null values is do

if ( isNull( CacheManager.get('key') ) ){

writeoutput("object is not found in cache")


What if you need a null value?

cacheMap['luis'] = nullValue()

Two very simple functions, but they sure make life so so so much easier when integrating with java. This to me are my favorite two new functions.