文章列表
六、在JavaScript中调用,创建一个 WebContent/test1.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src='dwr/util.js'></scr ...
四、配置 dwr1.xml 文件
<dwr>
<allow>
<create creator="new" javascript="testService1" >
<param name="class" value= "com.dwr.TestService" />
<include method="sayHello"/>
</create> ...