【文章內(nèi)容簡(jiǎn)介】
el and view in the form of special JavaBeans. A powerful custom tag library allows it to read and write the content of these beans from the presentation layer without the need for any embedded Java code. ? Struts is categorized as a requestbased web application framework.[1] ? Struts also supports internationalization by web forms, and includes a template mechanism called Tiles that (for instance) allows the presentation layer to be posed from independent header, footer, and content ponents. 樣例文本 C ? 在 Java EE的 Web應(yīng)用發(fā)展的初期,除了使用 Servlet技術(shù)以外,普遍是在 JavaServer Pages( JSP)的源代碼中,采用 HTML與Java代碼混合的方式進(jìn)行開發(fā)。因?yàn)檫@兩種方式不可避免的要把表現(xiàn)與業(yè)務(wù)邏輯代碼混合在一起,都給前期開發(fā)與后期維護(hù)帶來巨大的復(fù)雜度。為了擺脫上述的約束與局限,把業(yè)務(wù)邏輯代碼從表現(xiàn)層中清晰的分離出來, 2022年, Craig McClanahan采用了MVC的設(shè)計(jì)模式開發(fā) Struts。后來該框架產(chǎn)品一度被認(rèn)為是最廣泛、最流行 JAVA的 WEB應(yīng)用框架。 ? Struts 2的合并示意圖 ? 2022年, WebWork與 Struts這兩個(gè)優(yōu)秀的 Java EE Web框架( Web Framework〕 的團(tuán)體,決定合作共同開發(fā)一個(gè)新的,整合了 WebWork與