code_junkie

Accessing constant values from an Apache Velocity template?

Nov 11th, 2011
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.07 KB | None | 0 0
  1. #if ($a lt Long.MAX_VALUE)
  2.  
  3. context.put("MaxLong", Long.MAX_VALUE);
Add Comment
Please, Sign In to add comment