Make ServletContextListener spring aware

前端 未结 4 2048
鱼传尺愫
鱼传尺愫 2021-02-12 11:14

I am plugging in Spring to existing Java EE web Application. I have following lines in my web.xml:


    com.MyContextListen         


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-12 11:55

    Annotate where you create a new instance of MyContextListener with @Bean if using Java Configs with Spring Boot.

提交回复
热议问题