JSP The Struts dispatcher cannot be found异常的解决方法

<%@ taglib uri="/struts-tags" prefix="s" %>报错:

This is usually caused by using Struts tagswithout the associated filter. Struts tags are only usable when the request haspassed through its servlet filter, which initializes the Struts dispatcherneeded for this tag. - [unknown location]


意思是必须要经过struts监听器的页面才能使用struts的标签,所以如果web.xml中配置的*.action无法捕捉jsp就会报错


猜你喜欢

转载自blog.csdn.net/afdasfggasdf/article/details/78928366