logo       

Re: ReverseAjax newbie: msg#00164

java.dwr.user

Subject: Re: ReverseAjax newbie

Nadam se da mozete :o)))
(I'm gonna write in English for others ;o)

Since that post I've changed and changed and changed, and eventually I got the
Reverse Ajax to work but there is one problem which I found and I'm hoping that
it is my mistake.

>From what I gather I can only make calls to static methods / static classes
>from
javascript. In other words, I can only call:

TableAjaxHandler.getData()

And then in there I can use WebContext, ScriptSession and Util to send back data
or call javascript methods etc. So, in a way I succeeded. But sadly not really!

So THE QUESTION now is this: Is it possible to create an instance of some Java
class using DWR? I created a card game with applets, but would like to switch to
Ajax if it is possible. So I need my jsp page to communicate with just one
instance of some Java class and be controlled by it. Can this be done?

THANKS A MILLION!

Pedja


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise