Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Seth Buntin #1
Using Standard Java Classes
Here is my code:
<cfset file = "C:\webroot\sandbox\images\Sunset.jpg">
<cfset image = createObject("java", "java.awt.image")>
Here is my error:
Object Instantiation Exception.
Class not found: java.awt.image
I don't understand what is going on. Can someone help me? I want to be able
to call standard java classes from within my CF template.
Thanks
Seth Buntin Guest
-
reloading java classes dynamicaly
Hello, I have installed Flex+JRun on Windows. I am experiencing RemoteObjects and Java classes. Every time I change something to the class I have... -
java classes not reloading
here's what the docs say: ----- ColdFusion dynamically loads classes that are either .class files in the web_root/WEB-INF/classes directory or in... -
Registering Java Classes in ColdFusion 7
I migrating my websites from cf 6.1 to 7. Everything was going fine until I encountered this problem. There is a java class I seem to be having... -
How to use java (j2ee) classes with coldfusion
Hi, I'm searching for information , examples about using java classes (jar, war, ear) with coldfusion (6 or 7). Is it very relevant using java... -
registering java classes for ASP use
hi, since MS's java sdk is no longer available, what is the replacement for javareg.exe? or, now that javareg.exe is no longer available, how... -
PaulH #2
Re: Using Standard Java Classes
well "java.awt.image" is the name of a package not a class. i think what you want is "java.awt.Image"--don't forget java is CaSe SEnsitivE.
PaulH Guest
-
Seth Buntin #3
Re: Using Standard Java Classes
Thanks for the help. I will take a look at the devnet gallery. I just thought I would see what I could do with java. I am trying to learn it so I can extend my CF Applications
Seth Buntin Guest



Reply With Quote

