How to configure URL patterns to have servlet and Struts2 to work simultaneously?

后端 未结 1 1702
礼貌的吻别
礼貌的吻别 2020-12-03 20:37

Why my filtering does not work for me and how to setup it to work?

There is my web.xml:



        
1条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-03 20:49

    You should add excludePattern constant to struts.xml to exclude servlet mapping URL from Struts processing.

    
        
        ...
     
    

    0 讨论(0)
提交回复
热议问题