摘要: 介绍了Java Web编程模式以及XML和XSLT的优点,分析了Struts的架构及其优缺点。介绍了如何使用Servlet来处理XML的XSLT转换,阐述了如何将Struts +XML +XSLT结合起来取代JSP,以及这种模式的优点。
关键词:
Struts,
Web,
XML,
XSLT,
HttpServlet,
JSP
Abstract: This paper discusses the advantages of Java Web development, XML and XSLT; analyses the framework of Struts, and its advantages and disadvantages; and then presents how to use HttpServlet, which can convert XML into HTML by XSLT. Finally, this paper presents how to use the framework of Struts + XML + XSLT to replace JSP, and analyses the advantages of the framework.
Key words:
Struts,
Web,
XML,
XSLT,
HttpServlet,
JSP
中图分类号:
吴寅斐;何钦铭;吴大瑞. Struts分析及其应用研究[J]. 计算机工程, 2006, 32(16): 44-45.
WU Yinfei; HE Qinming; WU Darui. Struts Analysis and Its Application Research[J]. Computer Engineering, 2006, 32(16): 44-45.