初用DWR的错误


则控制台输出错误信息

页面显示

HTTP Status 501 - Error. Details logged to the console

内部错误

警告: Unhandled Exception
java.lang.SecurityException: Access to debug pages is denied.

未设置
<init-param>
   <param-name>debug</param-name>
   <param-value>true</param-value>
</init-param>


解决方式
<servlet>
   <servlet-name>dwr</servlet-name>
   <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
   <init-param>
    <param-name>debug</param-name>
    <param-value>true</param-value>
   </init-param>
   <load-on-startup>0</load-on-startup>
  </servlet>

你可能感兴趣的:(java,xml,servlet,DWR,Access)