yes, you got it right,
if you call event.close() inside the BEGIN event, you will not receive
an END event, since the request never became async, it was basically,
like a regular servlet.
Filip
Joe Walker wrote:
I guess I misread the docs. From:
http://tomcat.apache.org/tomcat-6.0-doc/aio.
I guess I misread the docs. From:
http://tomcat.apache.org/tomcat-6.0-doc/aio.html
While talking about EventType.READ: "It is not allowed to attempt reading
data from the request object outside of the execution of this method."
Would it be correct to say - Use EventType.READ if you're worried abou
what does your HTTP request look like, it would need to have a body for
the READ event to be called.
currently READ doesn't get invoked when you are using a
x-www-form-urlencoded
this was fixed in trunk yesterday,
http://svn.apache.org/viewvc?rev=677473&view=rev
also, in your begin event, yo
Just noticed: s/Philip/Filip/g
;-)
Joe.
On Thu, Jul 17, 2008 at 10:39 AM, Joe Walker <[EMAIL PROTECTED]> wrote:
>
> Thanks for the help Philip.
>
> So I was hoping to use the normal Servlet processing for all requests, and
> then do something special to drop a thread when doing comet.
> My even
Thanks for the help Philip.
So I was hoping to use the normal Servlet processing for all requests, and
then do something special to drop a thread when doing comet.
My event method looks like this:
public void event(CometEvent event) throws IOException, ServletException {
if (event.getEventTyp
for your connector element you must have
protocol="org.apache.coyote.http11.Http11NioProtocol"
or
protocol="org.apache.coyote.http11.Http11AprProtocol" (and the APR and
tcnative libraries in your PATH/LD_LIBRARY_PATH)
Filip
Joe Walker wrote:
Hi,
It looks like servlet spec 3 is wy off. S
Hi,
It looks like servlet spec 3 is wy off. So I'm creating a implementation
of CometProcessor in DWR.
I've created a new CometProcessor like this:
public class DwrCometProcessor extends DwrServlet implements CometProcessor
But the event() method is not called. It just leaps straight to serv