java代码: |
<servlet> <servlet-name>dwr-invoker</servlet-name> <servlet- class>uk. ltd. getahead. dwr. DWRServlet</servlet- class> </servlet> <servlet-mapping> <servlet-name>dwr-invoker</servlet-name> <url-pattern>/dwr /*</url-pattern> </servlet-mapping> |
2、当我们想看DWR自动生成的测试页(Using debug/test mode)时,可在
servlet中加
<init-param>
<param-name>debug</param-name>
<param-value> true</param-value>
</init-param>