检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]山东经济学院计算机科学与技术学院,山东济南250014
出 处:《计算机应用与软件》2010年第1期26-28,共3页Computer Applications and Software
基 金:国家自然科学基金(60603077)
摘 要:为了将Web应用中的业务逻辑和表现形式分离,尤其是降低在JSP文件中的Java代码,人们想了很多方法,其中应用Struts框架是较流行的方法。分析了Struts框架的缺陷,提出了Struts框架的改进方案,它大量采用XML、Xpath、XSL等技术和Struts框架,而不再使用JSP,同时将Struts中的FormBean、Session等需要显示的内容映射成XML内容,在XSL(表现层)中通过XSLT、Xpath技术访问,从而保证了XSL(表现层)中不再需要任何Java代码,真正实现了MVC的承诺。改进的Struts框架在智能大厦办公自动化系统中的成功实施说明了此方案是可行的。In order to divide business logic and manifestation in web applications,especially to decrease the java code in JSP,people tried many methods,in which Struts framework is a popular scheme at present.In the paper,some limitations in Struts framework are analyzed.At the same time,an improved Struts framework is put forward.In the improved scheme,XML,XSLT and XPath technologies are utilized instead of standard JavaServer Pages,and the contents in Struts requiring viewed such as FormBean and Session are mapped into XML contents,then is visited through XSLT,Xpath technologies in XSL(presentation layer),so it ensures there is no Java code in XSL(presentation layer).In this way the promise of MVC is carried out truly.The successful application of the improved Struts framework in OA System of the Intelligent Building demonstrates the scheme is feasible.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论] TP311[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.145