dwr.engine为空或不是对象 高手们我在线等
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://getahead.org/dwr/dwr20.dtd">
<dwr>
<allow>
<!-- intro - for the test on index.html -->
<create creator="spring" javascript="xs" scope="script">
<param name="beanName" value="zbxsAction"/>
<include method="xs"/>
</create>
<convert converter="bean" match="com.jrtl.xm.gold.huowu.vo.ZbEntity"/>
</allow>
</dwr>
jsp页面中
<script type='text/javascript' src=' <%=request.getContextPath()%>/dwr/util.js'> </script>
<script type='text/javascript' src=' <%=request.getContextPath()%>/dwr/interface/xs.js'> </script>
<script type='text/javascript' src=' <%=request.getContextPath()%>/dwr/engine.js'> </script>
function dwr()
{
var txm=document.getElementById("txm“).value
xs.xs(txm,function(zb){
alert(zb[0])
});
}
为什么会出dwr.engine为空或不是对象异常呢