0
如何通过注解设置的Servlet 3.0中的两个URL模式为:异步的servlet 3.0 URL映射
@WebServlet(urlPatterns = "/flow", asyncSupported = true)
public class FlowService extends HttpServlet
这个例子是一个URL模式,但我想设置它两个URL。
如何通过注解设置的Servlet 3.0中的两个URL模式为:异步的servlet 3.0 URL映射
@WebServlet(urlPatterns = "/flow", asyncSupported = true)
public class FlowService extends HttpServlet
这个例子是一个URL模式,但我想设置它两个URL。
urlPatterns = {"/flow", "/low"}