浏览 1355 次
锁定老帖子 主题:新人请教有关dwr的问题
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2008-03-26
engine.js出现unterminated string literal的错误是怎么回事? util.js报DWREngine.setPreHook is not a function 请各位帮我看一下 dwr配置文件: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://getahead.ltd.uk/dwr/dwr20.dtd"> <dwr> <allow> <create creator="new" javascript="sysCmpService" scope="request"> <param name="class" value="net.eow.core.util.StringUtil" /> </create> </allow> </dwr> web.xml: <!-- dwr --> <servlet> <servlet-name>dwr-invoker</servlet-name> <servlet-class> org.directwebremoting.servlet.DwrServlet </servlet-class> <init-param> <param-name>debug</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>config-files</param-name> <param-value> /WEB-INF/classes/dwr/dwr-sys.xml </param-value> </init-param> <init-param> <param-name>pollAndCometEnabled</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name> allowGetForSafariButMakeForgeryEasier </param-name> <param-value>true</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>dwr-invoker</servlet-name> <url-pattern>/dwr/*</url-pattern> </servlet-mapping> java代码就是一个普通的操作String的工具类 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |