« Return to Thread: Java class undefined problem

Re: Java class undefined problem

by stojadinovicp :: Rate this Message:

Reply to Author | View in Thread

Sounds like your missing the Demo creator in dwr.xml?

Something like:
<create creator="new" javascript="Demo">
< param name="class" value="com.bla.Demo" />
<include method="sayHello" />
</create>

You can see what classes and which methods have been defined by going to localhost:xxxx/yourApp/dwr

Pedja

Deepti Rajoria wrote:
I made a sample application from the examples given.i made a html as in demo example.When i execute it, there is an error of Demo undefined.

 « Return to Thread: Java class undefined problem