> My brain isnât working well today and this one has me stumped even after > googling for > hours. I need to be able to load some jar files in both CF9 and Railo 4.2. > Because of > rules imposed on me, I cannot put them in the standard jar directories (they > would > break cf/railo functionality) and I cannot put them into the webroot. > > Normally I would do a <cfset myJar = createObject(âjavaâ, > âorg.my.jarfileâ).init() /> but > because itâs outside of the webroot I canât figure out what I need to do. > Will > createobject work with coldfusion mappings? > > Oh, and I have to try to keep the code a generic as possible because it will > need to run > on both ColdFusion 9 and Railo 4.2.
I don't know about Railo, but Mark Mandel's Java class loader works fine on CF 9: http://www.compoundtheory.com/javaloader-cfc-v0-1-released-loading-java-from-coldfusion-part-2/ Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business (SDVOSB) on GSA Schedule, and provides the highest caliber vendor- authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360105 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm