Spring boot集成wsdd配置文件

转自:https://blog.csdn.net/dong945221578/article/details/71429735

PS:看来同是做IPTV项目的

package com.example.servlet;
    import org.apache.axis.transport.http.AxisServlet;
    @javax.servlet.annotation.WebServlet(
            urlPatterns =  "/iptv/*",
            loadOnStartup = 1,
            name = "AxisServlet"
    )
    public class WebServlet extends AxisServlet {
        //无具体代码,使用注解的形式    
    }

 

添加注解 @ServletComponentScan    //扫描自定义的WebFilter和WebListener,否则无法扫描到

 

posted @ 2019-11-13 17:33  julian_chang  阅读(492)  评论(0编辑  收藏  举报