1. 程式人生 > >A filter or servlet of the current chain does not support asynchronous operations

A filter or servlet of the current chain does not support asynchronous operations

(原文是我之前的一個賬號,在17年3月份寫的一篇部落格,那個賬號不打算繼續用了,遷過來)

https://blog.csdn.net/alun1314deai/article/details/61195121

非同步請求需要配置,允許其非同步請求才可以,包括servlet和相關的過濾器,一整條鏈上的都要設定允許才行

1、需要非同步請求的servlet :

注:如果是配置方式,參考第二項過濾器配置的寫法。

 

2、相關的過濾器: