<script type="text/javascript" src="dwr/util.js"></script>
<script type="text/javascript" src="dwr/interface/BookDaoImpl.js"></script>
<script type="text/javascript">
function temp(){
BookDaoImpl.findBooks(books);
}
function books(date){
alert(date.length);
dwr.util.removeAllRows("tab");
dwr.util.addRows("tab",date,[
function(d){return d.book_id;},
function(d){return d.book_isbn;},
function(d){return d.book_price;},
function(d){return d.book_pubdate;}
]);
}
</script>
<body onload="temp()">
图书搜索:<input type="text" id="text" /><input type="button" value="搜索" />
<table>
<thead>
<tr>
<td>书名</td>
<td>编号</td>
<td>价格</td>
<td>日期</td>
</tr>
</thead>
<tbody id="tab">
</tbody>
</table>
</body>
log4j:WARN Please initialize the log4j system properly.
我下载了log4j放在src目录下也是不行,d.book_id都是空的