Dwr when in use, in accordance with access to a pojo object id, js on the page to be a js object to be converted, it is easy to use. However, the return value can only be used inside dwr callback function, and then the return value of this assignment to other variables will not be spared. Later, after some exploration, discovery can be achieved by:

<script type = "text / javascript" src ="<%= request.getContextPath ()%>/ dwr / interface / bizBeanForDwr.js "> </ script>
... ...
<SCRIPT LANGUAGE="JavaScript">
var dwrCriterion;
/ / Set to synchronize
DWREngine.setAsync (false);
bizBeanForDwr.getJsCriterion ( "8a88881a1df69e6c011df6cbcfcc006b", function (cb) (dwrCriterion = cb;));
/ / Re-set to asynchronous mode
DWREngine.setAsync (true);
alert (dwrCriterion.status);
</ SCRIPT>

Will be set to request dwr synchronous manner can be assigned, the assignment can be re-set to asynchronous.