节点文献

Ajax与Struts框架在商情网站中的应用

Application of Ajax and Struts Framework in market condition website

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 黄诗诗俞奕刘鹏

【Author】 Zhong Luo Huang Shi-shi Yu Yi Liu Peng (School of Computer and Technology Wuhan University of Technology, Wuhan Hubei 430070, China)

【机构】 武汉理工大学计算机科学与技术学院武汉理工大学计算机科学与技术学院 湖北 武汉 430070湖北 武汉 430070

【摘要】 为了解决传统Web应用程序在页面重载循环方面的局限性,采用了Ajax与Struts框架相结合的技术,并以商情网站应用为例,介绍了在数据校验和级联菜单两个方面的应用。其中主要利用XMLHttpRequest以异步方式向Servlet发送请求,然后利用DOM解析服务器的返回并完成对页面的更新。通过一系列的应用,证明了与传统web应用程序相比,它在减轻服务器的负担,无刷新更新页面,调用外部数据,以及促进页面呈现与数据的分离等几个方面都存在优势。

【Abstract】 In order to solve the limitation of traditional Web application in page reloading, this paper adopts the technology that combines Ajax with Struts. In this paper, the work flow is analyzed in detail, and the application in a market condition website is taken for instance, in which data validation and dynamically loading list boxes are emphasized. XMLHttpRequest is utilized to send an asynchronous request to Servlet from a web page, then the DOM properties and methods is used to update the web page. According to the applications, it is proved that it is superior in relieving the burden on server, updating web page without refresh, reading outside data source, and separating view with data compared with traditional Web applications.

【关键词】 AJAXStrutsXMLHttpRequestDOM
【Key words】 AJAXStrutsXMLHttpRequestDOM
  • 【分类号】TP393.092;TP311.10
  • 【下载频次】65
节点文献中: 

本文链接的文献网络图示:

本文的引文网络