quality@glassfish.java.net

Re: Please tell me how to create my Async supported servlet

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Wed, 30 Sep 2009 09:36:14 -0700

Hi Jack,

On 09/30/09 09:24, Jack Sparrow wrote:
> Hi
>
> I am now trying to create a async supported servlet.
> But I can't find "AsyncContext#forward(String)" . Oh no.....
>
> Can anyone help me?
> Please tell me how to create my Async supported servlet.
>

The Servlet 3.0 APIs have evolved since the last "preview" version of
the spec was published.
See http://javadoc.glassfish.org/javaee6/apidoc/ for latest signatures.

In particular, AsyncContext#forward has been renamed to
AsyncContext#dispatch

Hope this helps.

Jan