Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Enabling async

Hello all,

  I am trying out the new Servlet 3.0 async API with Jetty 8.0.0.0 M0.
 When I call request.startAsync() in doGet() I get an exception:

java.lang.IllegalStateException: !asyncSupported


I found a post from Greg stating that async must be enabled in the
handler that the servlet is hosted in.  How do you do this
programatically (i.e., without using web.xml)?

Regards,
Philip


Back to the top