中文摘要 Struts是Jakarta內的一個子計劃,是一個以JSP與Java Servlet為基礎的網路應用程式架構(Web Application Framework)。Struts是基於MVC(Model View Controller)設計模式而發展出來的架構。Struts的Model元件是Java Beans,用於資料處理部分,展現部分的View元件以JSP為主,Controller部分主要是Action Servlet及URI映對[1]。 傳統上,由於設計前端畫面部份的網頁設計師,可能只熟悉HTML畫面元件,而不具有程式設計的基礎。因此,本篇論文提出一套工具SVDT(Struts View Development Tool),以幫助網頁設計師開發Struts的View元件。此工具可以在Struts View畫面與HTML 畫面之間進行互轉,並提供Struts View 的預覽。最後我們將SVDT和現行工具的畫面設計部分進行比較。 關鍵字 : Web Application,MVC,Struts,JSP,Java Servlet
ABSTRACT Struts, one project of Jakarta, is a web application framework based on JSP and Java Servlet. Struts is developed from Model View Controller (MVC) design pattern, where Java Beans constitute the model components for data processing, JSPs are the view components, and Action Servlets and action mapping are the controller components [1]. Traditionally, the web page designers are only familiar with the HTML pages, which are the view components, and may not have any knowledge about programming and programming language. In this paper, we designed and implemented a tool, SVDT (Struts View Development Tool), to help the web page designers to design Struts view components. This tool can transform Struts view components into HTML web pages and vice versa. A Struts view component can also be previewed using the tool. At last, we make a comparison of our tool to other existing tools. keywords : Web Application,MVC,Struts,JSP,Java Servlet