2 lhj305692537 lhj305692537 于 2013.10.16 13:07 提问

刚刚配置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 start

SEVERE: 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>

求解答,谢谢!

1个回答

a1336224635
a1336224635   2013.12.24 18:10

filter 你配置错了

Csdn user default icon
上传中...
上传图片
插入图片