(a) Greetings to Struts2

Source: Internet
Author: User
Section I: Struts2 introduction

Home: http://struts.apache.org/
In the aspect of user request and modularization processing as well as the display of the page, Struts2 play the role of the Dick bombing day;
Compared with the traditional Jsp+servlet model, STRUTS2 is more suitable for enterprise-level team development and facilitates system maintenance.
Latest Version: 2.3.16

Baidu Cloud Download: http://pan.baidu.com/s/1gf9AUVx

Password: 1iai

Section II: STRUTS2 HelloWorld

Web. XML configuration

<filter>
<filter-name>Struts2</filter-name>
<filter-class>
Org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>Struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

Core controller (core jar package)

Section III: Introduction to the principle of Struts2

(a) Greetings to Struts2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.