我的struts为什么老是报这个错啊org.apache.struts.action.ActionServlet initChain
错误信息:信息:Loadingchaincatalogfromjar:file:/D:/Tomcat6/webapps/nutch/WEB-INF/lib/struts-...
错误信息:
信息: Loading chain catalog from jar:file:/D:/Tomcat6/webapps/nutch/WEB-INF/lib/struts-core-1.3.8.jar!/org/apache/struts/chain/chain-config.xml
2013-5-20 17:41:04 org.apache.struts.chain.ComposableRequestProcessor init
信息: Initializing composable request processor for module prefix ''
2013-5-20 17:41:04 org.apache.struts.chain.commands.servlet.CreateAction createAction
信息: Initialize action of type: org.tol.struts.action.SearchAction
struts-config.xml
<form-beans >
<form-bean name="searchFrom" type="org.tol.struts.actionform.SearchFrom" />
</form-beans>
<global-forwards />
<action-mappings >
<action path="/yayaGlobalSearch" type="org.tol.struts.action.SearchAction" parameter="method" name="searchFrom" >
<forward name="searchPage" path="/WEB-INF/jsp/yayaGlobalSearch.jsp" />
</action>
</action-mappings>
action方法:return mapping.findForward("searchPage"); 展开
信息: Loading chain catalog from jar:file:/D:/Tomcat6/webapps/nutch/WEB-INF/lib/struts-core-1.3.8.jar!/org/apache/struts/chain/chain-config.xml
2013-5-20 17:41:04 org.apache.struts.chain.ComposableRequestProcessor init
信息: Initializing composable request processor for module prefix ''
2013-5-20 17:41:04 org.apache.struts.chain.commands.servlet.CreateAction createAction
信息: Initialize action of type: org.tol.struts.action.SearchAction
struts-config.xml
<form-beans >
<form-bean name="searchFrom" type="org.tol.struts.actionform.SearchFrom" />
</form-beans>
<global-forwards />
<action-mappings >
<action path="/yayaGlobalSearch" type="org.tol.struts.action.SearchAction" parameter="method" name="searchFrom" >
<forward name="searchPage" path="/WEB-INF/jsp/yayaGlobalSearch.jsp" />
</action>
</action-mappings>
action方法:return mapping.findForward("searchPage"); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询