DWR与Spring的融合


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58

?1,在dwr.xml中指定类的生成方式即可
?? <dwr>
? <allow>
??? <create creator=”new” javascript=”JDate”>
????? <param name=”class” value=”java.util.Date”/>
??? </create>
??? <create creator=”spring” javascript=”JLogin”>
????? <param name=”beanName” value=”dwrLogin”/>
??? </create>
? </allow>
</dwr>

2,在spring中的applicationContext.xml中配置dwrLogin
? <bean id=”dwrLogin”>
??? </bean>