struts2怎么在web.xml配置过滤器过滤掉指定的url或者指定的url不过滤

如题
2025-04-22 09:52:17
推荐回答(2个)
回答1:

你这个是eclipse下的路径在myeclipse是
// Compiled from StrutsRequestWrapper.java (version 1.5 : 49.0, super bit)
public class org.apache.struts2.dispatcher.StrutsRequestWrapper extends javax.servlet.http.HttpServletRequestWrapper
这个路径不清楚从org开始选择 辅助到哪?求解

回答2:


struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter


struts2
/* //这个 地方指定要过滤的url