<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    天空是藍色的

    做好軟件為中國 #gcc -c helloworld.c -o helloworld.o //編譯目標文件 #gcc helloworld.o -o helloworld //編譯成可執行exe #helloworld //運行exe
    數據加載中……
    [struts]MVC
     
    Struts is an open-source framework for building Model 2 web applications.

    MVC框架

    A controller servlet that dispatches requests to appropriate action classes
    provided by the application developer.

    All requests are dispatched through a single controller servlet that is part of the
    framework.

    單獨的控制器把所有的請求集中分發

    This controller provides numerous application-wide services, such as
    database connection pooling and automatic request dispatching. The controller
    creates action classes, which are built by the developer to perform the work of the
    application. These action classes extend the Struts Action class. This is a perfect
    example of a reusable framework part—the controller is designed to create
    Action subclasses to perform work. This aspect of Struts is based on the Command
    design pattern, which allows for parameterizing activities.

    控制器提供了眾多的應用程序范圍的服務,例如數據庫連接池,請求自動分發.控制器創建開發者提供解決業務問題的action業務類
    這些action類包括Struts Action class.控制器可以重復創建Action類是復用框架

    The action instances create model beans that perform domain-specific activities.
    Examples of these activities include executing business logic, connecting to
    databases, and calling other bean methods. The model beans encapsulate the real
    work of the application, just as in Model 2. Once the action instance has utilized
    the model beans to perform work, it forwards the models that contribute to the
    display via the controller to a view component, generally a JSP (although other
    view options are possible; see the discussion on Velocity in chapter 9). The view
    extracts the model beans and presents the visual results to the user. As you can
    see, this is the same general information flow described in Model 2. Struts provides
    a great deal of the infrastructure to make it easy to accommodate this information
    flow.

    Struts handles other details of application development as well. The framework
    includes numerous custom JSP tags to help you construct the view. It also
    provides classes that aid in internationalization, database connection pooling, and
    flexible resource mapping.

    Struts is a fairly lightweight framework whose primary job is to facilitate building
    web applications using Model 2. I estimate that Struts saves from 35 to 40 percent
    of the typical amount of effort to build a Model 2 application. One of Struts’
    strengths is its cohesiveness—it doesn’t supply services outside those needed for
    building Model 2 applications. Other frameworks are much more extensive; the
    Turbine framework is one of them.

    摘自<ARTOF
    JAVA WEB
    DEVELOPMENT>

    posted on 2006-02-15 12:22 bluesky 閱讀(2431) 評論(0)  編輯  收藏 所屬分類: 工作總結

    主站蜘蛛池模板: 中文字幕免费高清视频| 午夜免费国产体验区免费的 | 一本久久综合亚洲鲁鲁五月天| 亚洲成a人片在线网站| 最刺激黄a大片免费网站| 无码专区—VA亚洲V天堂| 人妻无码久久一区二区三区免费| 久久精品国产亚洲综合色| 日韩精品无码免费专区午夜 | jlzzjlzz亚洲jzjzjz| 免费A级毛片无码无遮挡内射| 久久精品国产亚洲av影院 | 在线观看免费宅男视频| 亚洲综合激情五月丁香六月| 欧美男同gv免费网站观看| 中日韩亚洲人成无码网站| 国产大片免费观看中文字幕| 深夜A级毛片视频免费| 久久亚洲高清综合| 少妇性饥渴无码A区免费| 亚洲喷奶水中文字幕电影| 日本特黄a级高清免费大片| 二级毛片免费观看全程| 国产亚洲av片在线观看播放 | 看Aⅴ免费毛片手机播放| 在线观看亚洲精品福利片| 久久中文字幕免费视频| 33333在线亚洲| 亚洲国产精品丝袜在线观看| 中国内地毛片免费高清| 亚洲国产精品网站久久| 国产又大又长又粗又硬的免费视频| 产传媒61国产免费| 亚洲国产精品人久久| 免费黄色小视频网站| 99视频免费在线观看| 亚洲女人初试黑人巨高清| 国产一级淫片免费播放| 久久国产乱子伦精品免费看| 亚洲乱妇老熟女爽到高潮的片| 久久精品国产亚洲7777|