浏览 2587 次
锁定老帖子 主题:Struts + cewolf 整合问题
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2008-01-30
项目中需要用图表,于是想到了cewolf。 拷贝类库,配置好web.xml了以后,就出问题了 org.apache.jasper.JasperException: Cannot find global ActionForward for name welcome 但是检测cewolf,好像在运行。 Cewolf servlet up and running. Requests served so far: 0 删除所有cewolf的库文件 我的项目又回来了。 不知道是不是冲突的原因 web.xml如下 引用 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <servlet> <servlet-name>action</servlet-name> <servlet-class>common.EncodeActionServlet</servlet-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <init-param> <param-name>debug</param-name> <param-value>3</param-value> </init-param> <init-param> <param-name>detail</param-name> <param-value>3</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> <servlet> <servlet-name>CewolfServlet</servlet-name> <servlet-class>de.laures.cewolf.CewolfRenderer</servlet-class> <!-- sets storage implementation --> <init-param> <param-name>storage</param-name> <param-value>de.laures.cewolf.storage.TransientSessionStorage</param-value> </init-param> <!-- sets overlib.js location relative to webapp --> <init-param> <param-name>overliburl</param-name> <param-value>/etc/overlib.js</param-value> </init-param> <!-- turn on or off debugging logging --> <init-param> <param-name>debug</param-name> <param-value>true</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>CewolfServlet</servlet-name> <url-pattern>/cewolf/*</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>/main/login.jsp</welcome-file> </welcome-file-list> <context-param> <param-name>log4jConfigLocation</param-name> <param-value>/WEB-INF/classes/log4j.properties</param-value> </context-param> <context-param> <param-name>log4jRefreshInterval</param-name> <param-value>60000</param-value> </context-param> </web-app> struts.xml如下 引用 <struts-config> <form-beans > <form-bean name="reportForm" type="com.rdzx.struts.form.ReportForm" /> </form-beans> <global-exceptions /> <global-forwards> <forward name="welcome" path="/report.do?method=listArtPage" redirect="true" /> </global-forwards> <action-mappings > attribute="reportForm" name="reportForm" parameter="method" path="/report" scope="request" type="com.rdzx.struts.action.ReportAction" > <forward name="listre" path="/main/report/CewolfOHLC.jsp" /> </action-mappings > 有知道怎么解决的朋友麻烦留个言,万分感谢 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2008-07-07
我也遇到这样的问题 。lz怎么解决的?
|
|
返回顶楼 | |