Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,111 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,092 people online right now. Registration is fast and FREE... Join Now!




Coldfusion

 
Reply to this topicStart new topic

Coldfusion

DDANIEL11
post 6 Oct, 2008 - 10:09 AM
Post #1


New D.I.C Head

*
Joined: 6 Oct, 2008
Posts: 1

I get the following erroe message: "The page cannot be displayed" when executing the following code: "<cfset myObject = createObject("java", "HelloWorld")>"

I have placed the java class file "HelloWorld.class" in the classpath.

What is causing this error?
User is offlineProfile CardPM

Go to the top of the page

sansclue
post 6 Oct, 2008 - 10:51 AM
Post #2


D.I.C Head

**
Joined: 21 Nov, 2007
Posts: 105



Thanked 7 times
My Contributions


QUOTE(DDANIEL11 @ 6 Oct, 2008 - 11:09 AM) *

I have placed the java class file "HelloWorld.class" in the classpath.



Did you restart the CF server? The class will not be recognized until you restart.

QUOTE(DDANIEL11 @ 6 Oct, 2008 - 11:09 AM) *

I get the following erroe message: "The page cannot be displayed" when executing the following code: "<cfset myObject = createObject("java", "HelloWorld")>"


That is a generic error from your browser. What is the actual ColdFusion error message?
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/21/08 10:00AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month