<add>
Add documentation for AJP-NIO connector. (markt/rjung)
</add>
+ <fix>
+ <bug>51229</bug>: Fix bugs in the Servlet 3.0 asynchronous examples.
+ Patch provided by Eiji Takahashi. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Other">
protected void service(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {
if (Boolean.TRUE == req.getAttribute("dispatch")) {
log.info("Received dispatch, completing on the worker thread.");
- req.getAsyncContext().complete();
log.info("After complete called started:"+req.isAsyncStarted());
resp.getWriter().write("Async dispatch worked:+"+System.currentTimeMillis()+"\n");
+ req.getAsyncContext().complete();
} else {
resp.setContentType("text/plain");
final AsyncContext actx = req.startAsync();