期刊文献+

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

Application of Ajax and Struts Framework in market condition website
下载PDF
导出
摘要 为了解决传统Web应用程序在页面重载循环方面的局限性,采用了Ajax与Struts框架相结合的技术,并以商情网站应用为例,介绍了在数据校验和级联菜单两个方面的应用。其中主要利用XMLHttpRequest以异步方式向Servlet发送请求,然后利用DOM解析服务器的返回并完成对页面的更新。通过一系列的应用,证明了与传统web应用程序相比,它在减轻服务器的负担,无刷新更新页面,调用外部数据,以及促进页面呈现与数据的分离等几个方面都存在优势。 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.
出处 《科技信息》 2006年第S1期22-23,共2页 Science & Technology Information
关键词 AJAX STRUTS XMLHTTPREQUEST DOM AJAX,Struts,XMLHttpRequest,DOM
  • 相关文献

参考文献1

二级参考文献4

  • 1Steve Burbeck. How to use model-view-controller [EB/OL].http://st-www, cs. uiuc. edu/users/smarch/st-docs/mvc, html.
  • 2Joseph Bergin pace University. Building graphical user interfaces with the MVC pattern [EB/OL]. http://csis, pace. edu/ bergin/mvc/mvcgui, html.
  • 3Eric J Naiburg, Robert A Maksimchuk. UML for database design [M]. BeiJing Posts&Telecomunications press, 2002.
  • 4Struts [EB/OL]. http://jakarta, apache, org/struts/user-Guide/.

共引文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部