问题描述
- 刚刚配置struts2,无法使用
-
进如tomcat后天管理面板, 刚刚建立的test没有start,点击start后,tomcat后台提示如下:
INFO: Server startup in 2389 ms
十月 16, 2013 1:04:40 下午 com.opensymphony.xwork2.util.logging.jdk.JdkLogger in
fo
INFO: Parsing configuration file [struts-default.xml]
十月 16, 2013 1:04:40 下午 org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
十月 16, 2013 1:04:40 下午 org.apache.catalina.core.StandardContext startSEVERE: Context [/test] startup failed due to previous errors
struts的配置文件如下:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"><package name="test" extends = "struts-default"> <action name = "login" class = "com.liao.action.LoginAction"> <result name = "success">/index.jsp</result> <result name = "input">/login.jsp</result> </action> </package>
求解答,谢谢!
解决方案
filter 你配置错了
时间: 2024-11-01 20:50:47