users@grizzly.java.net

Re: GWT + Comet question (was Re: [Jean-Francois Arcand's Blog] New Comment Posted to 'Building GWT Comet based web app using Grizzly Comet'

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 23 Mar 2009 14:28:23 +0100

Salut,

jewel_kader wrote:
> Hi marcoflower,
>
> Does this long polling solution work in IE? I tried it in IE 6, 7, & 8. I
> got it not working in IE though no problem in Firefox.

I will eventually look at it (apology for that) :-( To help, can you
flush some comments like before invoking addCometHandler(..):

> // for IE
> writer.println("<!-- Comet is a programming technique that enables web servers to send data to the client without having any need for the client to request it. -->\n");
> writer.flush();

I bet it will make it work. Keep me posted. If you can use Wireshark or
ngrep to snoop the network that would help me as well.

Thanks

-- Jeanfrancois


>
> Thanks
>
> Jewel
>
>
> marcoflower wrote:
>> You can find the .war here http://www.marcofiore.it/GrizzlyTest.war
>> I'm using GlassFishV2 and Grizzly 1.0.19
>>
>> Thanks
>>
>> Marco
>>
>>
>> Jeanfrancois Arcand-2 wrote:
>>> Salut,
>>>
>>> marcoflower wrote:
>>>>> Just never call resumeCometHandler. That will means the connection will
>>>>> stay suspended (streaming mode) forever.
>>>> I tried to remove the resumeCometHandler call, but if I remove it the
>>>> client
>>>> can't receive messages... I think is a specific GWT-RPC problem.
>>> Sorry for that. Can you send a test case (.war) that I can try? Which
>>> GlassFish or Grizzly version are you using?
>>>
>>> Thanks!
>>>
>>> -- Jeanfrancois
>>>
>>>> Thanks
>>>>
>>>> Marco
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>
>>>
>>>
>>
>