Re: Configuring two connectors and COMET Read event

2010-02-04 Thread Stephen Byrne
Animesh Sonkar wrote: *snip* > 2. I am not able to invoke the READ event. How do i do that? You need to send the HTTP request as chunked data. If you happen to be using an HttpURLConnection, call setChunkedStreamingMode( 1 ). If you are taking a lower level approach, (i.e. using sockets), send a

RE: Configuring two connectors and COMET Read event

2010-02-04 Thread Caldarale, Charles R
> From: Animesh Sonkar [mailto:akson...@gmail.com] > Subject: Configuring two connectors and COMET Read event > > Now i also need two connectors to be setup in server.xml. Why do you think that? > One is a normal HTTP/1.1 connector and another a NIO connector. Why not just th

Configuring two connectors and COMET Read event

2010-02-04 Thread Animesh Sonkar
Hi, I am developing an alication where i need two servlets. One is a normal Http Servlet and another is a comet servlet. Now i also need two connectors to be setup in server.xml. One is a normal HTTP/1.1 connector and another a NIO connector. I made changes to the server.xml as follows. serve