perhaps this will explain it a bit better:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/faca1575f306ba0f/3be719c021aa19bd?pli=1

-jason
On Jan 10, 2009, at 10:47 AM, Antoine Bruguier wrote:

>
> Hello,
>
> I am a newbie with GWT so please bear with me. I would like to write
> some code that fetches some HTTP file. I have read the tutorials but
> they do not quite answer my question.
>
>
> OK, here's my code. It does something but not quite what I want. The
> entry point is the function isInputDataValid(). My problem is that it
> prints "Step 1", then "Step 2", then the content of the HTML page. I
> guess the fetching is done in another thread. That is not what I want,
> since I would like to return a specific boolean depending on the
> content of my page.
>
> I guess I could write the code inside the function PrintOut() but that
> is not so good. I am planning to fetch several pages and I would have
> to replicate the code several times. I could also use a mutex system,
> but that I haven't been able to find. Or maybe there's a ready example
> using another approach but I couldn't find it.
>
> Please point me toward the right information. I hope I was clear.
>
> Thanks,
> Tony
>
> >


--~--~---------~--~----~------------~-------~--~----~
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