Hello all,
I've been struggling with gadgets.io.makerequest for a LONG time,
without any success.
Let me elaborate:

1. in this link :
http://groups.google.com/group/opensocial-orkut/browse_thread/thread/96c9181a55b60d5f/b7625c8a5b283cb2?lnk=gst&q=makerequest#b7625c8a5b283cb2

I found Jason's code snippet for the function, this one:

***************************************************************
function response(data) {
  output(data.text);
};

function request() {
  gadgets.io.makeRequest('http://www.google.com', response);
};

request();
**************************************************************

first of all - it does work for me in OpenSocial Dev App, but a
strange thing is that it doesn't work for me when I run it in GGE -
http://hosting.gmodules.com/ig/gadgets/file/108098141166482124231/helloworld.xml

which is a strange thing for itself, but though it is not my main
problem!

I have a java server (using Tomcat) that has a servlet called
HelloServlet (I tested servlets using this java server and it all
works fine..so the servlet is not the problem), but - when changing
the
"http://www.google.com"; string in the code into this -
"http://localhost:8080/WebAppTest/HelloServlet";

nothing happens! the servlet's code does not run (I have a small
printing statement in it to check..),
not "even" from the OpenSocial Dev App (from where the above code
snippet did work..)

I really don't know what's the problem!

2. I've tried A LOT of code snippets besides the above one for
makerequest, and nothing works. I am unable to communicate with my
servlet ...

could anybody please help with the code or explain to me what could be
the cause?


Kogan.
















--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to