执行带有参数的方法后,
dwr1.3+tomcat5 不会出现 invalid reply from server异常
dwr2+tomcat5 会出现 invalid reply from server异常
dwr1.3+resin3.0.8 会出现 invalid reply from server异常(已经找到问题所在,可以正常运行了)
终于找到dwr1.3+resin3.0.8出现 invalid reply from server异常的问题所在了
原来前些天在resin的lib目录下放了dwr2.0的jar包--...
DWR1.0版本
web.xml
<servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class>
dwr.xml
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 1.0//EN" "http://www.getahead.ltd.uk/dwr/dwr10.dtd">
DWR2.0版本
web.xml
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
dwr.xml
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://www.getahead.ltd.uk/dwr//dwr20.dtd">