Spring 4 websocket + Tomcat 7.54 async-supported not working

后端 未结 6 651
名媛妹妹
名媛妹妹 2020-12-19 13:04

I am creating a sample chat application using the Spring websockets and stomp.js , I am using the tomcat 7.54 but while runing the application I am gettting a async-support

6条回答
  •  天命终不由人
    2020-12-19 14:00

    The true should be included in both the servlet and filter tags. Use the following snippet as reference:

    
        ...
        
            instantaction
            org.springframework.web.servlet.DispatcherServlet
            
                contextConfigLocation
                
                    classpath:META-INF/spring/web/my-servlet-config.xml
                
            
            1
            true
        
    
        
            ...
        
    
        
            springSecurityFilterChain
            org.springframework.web.filter.DelegatingFilterProxy
            true
        
    
        
            springSecurityFilterChain
            /*
        
    
    

提交回复
热议问题