Hi Stella,
sorry for my late reply.

Here's how you can do this really simply:

1. Create a new project
2. Edit your <projectname>.gwt.xml file and add:

<inherits name="com.google.gwt.http.HTTP"/>
<inherits name="com.google.gwt.json.JSON" />

3. Use the RequestBuilder to make a call to your python script.
4. Create a handler for the response from ur python script
(See:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideHttpRequests)
5. In your python script on the server print some text (doesn't matter, but
preferably in JSON format). Make sure to do this in ur pythong script before
printing anything else in ur response:
print "Content-Type: text/html"
print

>From this you _should_ be able to understand how things work.
Hope this helps.
-Pavel

On Mon, Sep 22, 2008 at 2:35 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> Ok
>
> I have gone thru the links Provided..
> Thanks to dean and pavel and others.
> I tried to execute the PGR example porovided on google code.
> evertthing seems to be in place , but the code executes but says a
> http 404 error
>
> I cannot understand how the Java code provided in the example is
> talking to the Python and how the results are fetched back.
> Understanding this is very important to me and solve bulk of my
> problem.
>
> Anyone??
> Ajay, i cant help you regarding this, let the experienced guide us.
>
> Thanks!!!
> stella
>
> >
>

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

Reply via email to