paul_harv wrote:
> Can someone please tell me how I can set a java system
property from ColdFusion
> Code?
> I want to do the equivalent of
>
> java.lang.System.setProperty("name", "value");
> (this is in order to set the
javax.xml.parsers.SAXParserFactory property so I
> can use the Saxon XSLT processor)
<cfscript>
propertyKey="yourKey";
propertyValue=5;
//or use java.util.Properties
prop=createObject("java","java.lang.System");
prop.setProperty(propertyKey,propertyValue);
</cfscript>