新人求解SSH+DWR结合传值问题?
前台JSP:
<script type="text/javascript"> function test1(r){ acl.testHello( r.userId, r.checked ); }</script>.....<input userId="123" type="checkbox" onclick="test1(this)" >public void testHello(int userId, boolean yes) { System.out.println(" userId="+ userId +",yes=" + yes); }