DWR的替换 [英] Replacement for DWR
问题描述
DWR主要用于处理来自服务器的AJAX响应。
DWR is mainly used for handling AJAX responses from server..
所以我想知道其他类似的技术,这将使AJAX处理像调用Java方法一样容易来自Javascript并在html代码中粘贴响应。
So i wanted to know other similar technologies, which would make AJAX handling easy like calling a Java method from within Javascript and pasting the response in html code.
我知道jQuery有AJAX方法,但不要认为它可以调用和处理特定的Java方法。
I know jQuery has AJAX methods, but so not think it can call and handle specific Java methods.
推荐答案
我知道jQuery有AJAX方法,但不要认为它可以调用并且
处理特定的Java方法
I know jQuery has AJAX methods, but so not think it can call and handle specific Java methods
我使用spring和jquery,每个请求都可以映射到一个特定的方法。我比dwr更喜欢它。
I use spring with jquery, each request can be mapped to a specific method. I prefer it over dwr.
这篇关于DWR的替换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!