- 15
- 0
- 约1.51万字
- 约 10页
- 2019-04-15 发布于江西
- 举报
毕业设计说明书
英文文献及中文翻译
班 级: 学号:
软件学院姓 名:
软件学院
软件工程学 院:
软件工程
专 业:
指导教师:
2014年6月
Struts
Writer:Lebron Bryant
Apache Struts is an open-source web application framework for developing Java EE web applications. It uses and extends the Java Servlet API to encourage developers to adopt a model-view-controller (MVC) architecture. It was originally created by Craig McClanahan and donated to the Apache Foundation in May, 2000. Formerly located under the Apache Jakarta Project and known as Jakarta Struts, it became a top level Apache project in 2005.
Design goals and overview
In a standard Java EE web application, the client will typically submit information to the server via a web form. The information is then either handed over to a Java Servlet which processes it, interacts with a database and produces an HTML-formatted response, or it is given to a JavaServer Pages (JSP) document which intermingles HTML and Java code to achieve the same result. Both approaches are often considered inadequate for large projects because they mix application logic with presentation and make maintenance difficult.
The goal of Struts is to cleanly separate the model (application logic that interacts with a database) from the view (HTML pages presented to the client) and the controller (instance that passes information between view and model). Struts provides the controller (a servlet known as ActionServlet) and facilitates the writing of templates for the view or presentation layer (typically in JSP, but XML/XSLT and Velocity are also supported). The web application programmer is responsible for writing the model code, and for creating a central configuration file struts-config.xml which binds together model, view and controller.
Requests from the client are sent to the controller in the form of “Actions” defined
您可能关注的文档
最近下载
- 2025WHO《脑膜炎诊断、治疗和护理指南》解读PPT课件.pptx VIP
- (2026春新版)人教版三年级数学下册《2 除数是一位数的除法》PPT课件.pptx
- 中国6d电影设备行业市场前景预测及投资价值评估分析报告.docx
- 2026版WHO脑膜炎指南解读.pptx
- 美国浪漫主义文学.ppt VIP
- 2023年江南大学计算机科学与技术专业《操作系统》科目期末试卷A(有答案).docx VIP
- 辽宁省专升本2025年测绘工程专业测量学试卷(含答案).docx VIP
- 2020下半年事业单位联考《职测·A》真题(含答案).pdf VIP
- 核中警产品设计手册.pdf VIP
- 图形创意(第二版)林家阳 高教 全套课件.pptx VIP
原创力文档

文档评论(0)