Java Variable Type Casting

If you are passing data from ColdFusion to a Java object (invoked using the tag or the CreateObject() function) then the new JavaCast() function will be of use to you. This function takes a variable and a type (boolean, int, long, double, or string) allowing you to explicitly cast values as needed. (Applies to: ColdFusion 5)

Leave a Reply