how to add the servlet api to my pom.xml

后端 未结 6 850
天涯浪人
天涯浪人 2020-12-17 08:00

How do I add the servlets API to my project\'s pom.xml

mvnrepository.com has lots of servlet api and similarly named projects, that I don\'t know which is the right

6条回答
  •  一向
    一向 (楼主)
    2020-12-17 08:20

    Scope provided can be used when you dont want to put jar file inside the WEB-INF/lib folder instead you are supplying it at runtime either by container or JDK.

提交回复
热议问题