摘要
AJAX通过异步交互技术,提高了在B/S模式下服务器与客户端之间的传输效率和响应速度。Struts2通过兼容DWR和Dojo两大框架,以及提供对AJAX的支持标签,整合了AJAX技术。同时针对XML格式在AJAX中传输数据方面的效率低下问题,提出了利用JSON格式支持AJAX在Struts2中的数据交换的优化方案,实现了一个能够提供快捷的响应和良好的互动功能的MVC框架。
Through asynchronous interaction technology, AJAX enhances under the B/S application between the server and the client side transmission efficiency and the speed of response. Through the two big compatible frames: DWR and Dojo, as well as through the support label provided to AJAX, Struts2 integrates AJAX techniques, simultaneously against the XML format transport data in efficiency in AJAX. It is showed that as an advanced scheme, AJAX interchange of data in Struts2 via JSON format is supported. A quick response and the good interactive function MVC flame is provided.
出处
《计算机工程与设计》
CSCD
北大核心
2009年第16期3910-3913,3917,共5页
Computer Engineering and Design