Error filterStart
程序代码:
严重: Error filterStart
2010-9-10 10:42:38 org.apache.catalina.core.StandardContext start
严重: Context startup failed due to previous errors
2010-9-10 10:42:41 org.apache.catalina.core.StandardHostDeployer install<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<!-- 定义struts2的核心控制器 -->
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<!-- FilterDispatcher用来初始化Struts2并且处理所有的Http请求 -->
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
struts2.xml
程序代码:
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="default" extends="struts-default">
<action name="login" class="action.LoginAction">
<result name="index" type="chain">bookshow</result>
<result name="input">login.jsp</result>
</action>
<action name="bookshow" class="action.BookshowAction">
<result name="bookshow">bookshow.jsp</result>
</action>
<action name="deletebook" class="action.DeletebookAction">
<result name="bookshow" type="chain">bookshow</result>
</action>
<action name="addbook" class="action.AddbookAction">
<result name="success">success.jsp</result>
</action>
<action name="bookdetail" class="action.BookdetailAction">
<result name="bookdetail">bookdetail.jsp</result>
</action>
</package>
</struts>
包:commons-fileupload-1.2.jar commons-io-1.3.1.jar commons-logging-1.1.jar freemarker-2.3.8.jar ognl-2.6.11.jar
ojdbc14.jar struts2-core-2.0.6.jar xwork-2.0.1.jar
各位大侠帮个忙吧!谢谢了!
搜索更多相关主题的帖子:
filterStart
----------------解决方案--------------------------------------------------------
.....
----------------解决方案--------------------------------------------------------
提示: 作者被禁止或删除 内容自动屏蔽