काम नहीं करता है वर्ग मेरी web.xmlसर्वलेट 3.0 Async समर्थित यहाँ
<filter>
<filter-name>pollingTest</filter-name>
<filter-class>
webapp.controller.core.servlet.PollingService
</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>pollingTest</filter-name>
<url-pattern>/app/poll</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>ASYNC</dispatcher>
</filter-mapping>
यहाँ है 7, अपवाद मिला:
java.lang.IllegalStateException: Request is within the scope of a filter or servlet that does not support asynchronous operations
at org.apache.catalina.connector.Request.startAsync(Request.java:3657)
at org.apache.catalina.connector.Request.startAsync(Request.java:3633)
at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1053)
at javax.servlet.ServletRequestWrapper.startAsync(ServletRequestWrapper.java:450)
कौन मेरी मदद कर सकता है इस? बहुत बहुत धन्यवाद।
तरह का मिलान अतुल्यकालिक सर्वलेट के लिए एनोटेशन का उपयोग कर सकते संपूर्ण वेब.एक्सएमएल दिखाएं (नामस्थानों के साथ कम से कम ' 'टैग परिभाषा) –
Bozho