Journal of Computer Applications

• Software process technology • Previous Articles     Next Articles

Web application research based on extended Struts framework

<a href="http://www.joca.cn/EN/article/advancedSearchResult.do?searchSQL=(((Bing LIU[Author]) AND 1[Journal]) AND year[Order])" target="_blank">Bing LIU</a>   

  • Received:2008-04-23 Revised:1900-01-01 Online:2008-10-01 Published:2008-10-01
  • Contact: Bing LIU

基于Struts扩展框架的Web应用研究

刘冰 李正凡   

  1. 华东交通大学
  • 通讯作者: 刘冰

Abstract: Struts framework has no good presentation layer flexibility. Through analyzing its characteristics, XSL was combined with Struts by mighty conversion function in XSLT to improve the view of Struts. An improved model XStruts was proposed. This model was the extension of Struts. It separated business logic from presentation and supported XML and XSL. It could support many types of clients. This model was easier to maintain and extend. Finally, a typical Web application, online bookstore system, was designed and implemented using XStruts.

Key words: Model-View-Control (MVC), Web, eXtensible Style Language (XSL), Struts, XStruts

摘要: 针对Struts框架不具备很好的视图层适应性,引入可扩展的样式语言(XSL)技术,利用XSLT强大的转换功能,把它和Struts结合在一起,对Struts的视图部分进行改进。在此基础上提出一个合理的解决方案,并给出了改进之后的模型XStruts。该模型是Struts的扩展,它将表现逻辑和业务逻辑分离,支持XML、XSL等标准,具有可扩展性和易维护性,提供对多种类型客户端的支持。在提出的XStruts模型的基础上设计开发了一个典型的Web应用——网上书店系统,进一步说明XStruts模型的可行性。

关键词: 模型-视图-控制器, Web, 可扩展的样式语言, Struts, XStruts