On Sat, 2012-01-07 at 05:46 -0800, Brent Groves wrote:
> I can use xSocket to get responses from the sample async-request-war servlet
> that comes with netbeans ide 7.1 RC2, but have had no luck using HttpClient
> to receive the servlets responses.
> 
> /**
>  * This class illustrates the usage of Servlet 3.0 asynchronization APIs.
>  * It is ported from Grizzly Comet sample and use Servlet 3.0 API here.
>  *
>  * @author Shing Wai Chan
>  * @author JeanFrancois Arcand
>  */
> @WebServlet(urlPatterns = {"/chat"}, asyncSupported = true)
> public class AjaxCometServlet extends HttpServlet {
> 

HttpClient can handle any HTTP/1.0 and HTTP/1.1 compliant response
messages regardless of technology used to generate them.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to