@WebServlet annotation not recognized; init doesn't run

后端 未结 0 1984
走了就别回头了
走了就别回头了 2021-02-09 08:56

I\'m trying to learn annotations. I currently have a webapp that runs an init() when the app is started in Tomcat.

The following code works...

web.xml:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题