Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7880.htm...
Copy link to clipboard
Copied
I did everything as this page suggests, but nothing is displayed on my output page after the call to cfobject tag. Everything that it is before the tag is outputted in the page, everything that is after the tag is not outputted. It is as if it was not cfobect, but cfabort tag. For example.
index.cfm
-- End of file --
So "Hi" is outputted to the page, but "See you!" is not!! It is as if there is an cfabort tag.
What do I do wrong?
Copy link to clipboard
Copied
This is the documentation website, not the support forums, so not really a very sensible place to ask questions. I recommend you post your code and your question on the community support forum. Indeed there's already a thread for you here: http://forums.adobe.com/message/4787999#4787999.
--
Adam
Copy link to clipboard
Copied
It needs to be mentioned that .java files must be (written and) compiled against jdk 1.6. So if you have newer jdk (like 1.7) add the following flags:
>javac -source 1.6 -target 1.6 Employee.java
Copy link to clipboard
Copied
The flags wont be necessary soon, as ColdFusion 9 and 10 are going to be available in Java 7.
Copy link to clipboard
Copied
I have the same problem, as Kirill. Really it is strange.
Where is it mentioned about compilation "against jdk 1.6"??
Why dont put into examples description?
Copy link to clipboard
Copied
faktor9 wrote:
I have the same problem, as Kirill. Really it is strange.
Where is it mentioned about compilation "against jdk 1.6"??
It isn't mentioned. That is why Kirill_Grishin wrote:
It needs to be mentioned that .java files must be (written and) compiled against jdk 1.6. So if you have newer jdk (like 1.7) add the following flags:
>javac -source 1.6 -target 1.6 Employee.java