我需要以编程方式在Jetty6服务器上添加和删除servlet。虽然添加它几乎很简单,但我找不到有效的方法来删除它。就我的目的而言,添加和删除servlet非常重要,因为它与动态组件体系结构相关联。为了添加servlet,我使用了以下模式:{
@OverrideThere is no removeServlet like methods in server/Con
// Check the target of the request is a servlet?<groupId>org.glassfish.web</groupId>
<artifactId>javax.servlet.jsp.jstl</artifactId>-- https://mvnrepository.com/artifact/javax.servlet.jsp.jstl/j