Hello Mohamed,

I may make a mistake, but if I understand well, you are trying to embed java
code directly inside a Web page written in Javascript and HTML.
You can't do that, it won't work.
You can use Restlet inside GWT pages, that is say pages written in Java from
A to Z, and then compiled into javascript code. That makes a big difference.
You can have a look here for a sample application of that:
http://wiki.restlet.org/docs_2.0/303-restlet.html
And of course, here for a description of GWT:
http://code.google.com/intl/fr/webtoolkit/

Best regards,
Thierry Boileau


Hello,
>
> I was wondering whether someone can post a very simple code demonstrating
> the use of AJAX within a restlet resource ?
>
>  (i have made a restlet html page that included javascript code to get me
> simple text from another restlet that returns just a string representation
> but that didn't work and i don't know the reason)
>
> Many Thanks
>
>
> --
> View this message in context:
> http://restlet-discuss.1400322.n2.nabble.com/Simple-AJAX-test-tp6084937p6084937.html
> Sent from the Restlet Discuss mailing list archive at Nabble.com.
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2709293
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2710064
  • Simple AJAX test Mohamed Abdel-Aziz Bayoumi
    • Re: Simple AJAX test Thierry Boileau

Reply via email to