![]() |
#2
SoftWarezx2010-09-10 12:44
|

严重: 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. xmlns:xsi="http://www. xsi:schemaLocation="http://java. http://java.
<!-- 定义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.xml2010-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. xmlns:xsi="http://www. xsi:schemaLocation="http://java. http://java.
<!-- 定义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>

<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://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"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://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>
ojdbc14.jar struts2-core-2.0.6.jar xwork-2.0.1.jar
各位大侠帮个忙吧!谢谢了!