文件名称:struts2_01
介绍说明--下载内容均来自于网络,请自行研究使用
Struts2框架中核心组件就是Action、拦截器等,Struts2框架使用包来管理Action和拦截器等。每个包就是多个Action、多个拦截器、多个拦截器引用的集合。
在struts.xml文件中package元素用于定义包配置,每个package元素定义了一个包配置。它的常用属性有:
l name:必填属性,用来指定包的名字。
l extends:可选属性,用来指定该包继承其他包。继承其它包,可以继承其它包中的Action定义、拦截器定义等。
l namespace:可选属性,用来指定该包的命名空间。
-Struts2 fr a mework core components is Action, interceptors, etc., Struts2 fr a mework uses packages to manage such Action and interceptors. Each package is more Action, multiple interceptors, multiple interceptors collection of references. In struts.xml file package element is used to define the package configuration, each package element defines a package configuration. It is commonly used attributes are: l name: Required attribute that specifies the name of the package. l extends: optional attribute that specifies the package inherits other packages. Inherit other packages, other packages can be inherited in Action defined interceptor definition. l namespace: optional attribute that specifies the package namespace.
在struts.xml文件中package元素用于定义包配置,每个package元素定义了一个包配置。它的常用属性有:
l name:必填属性,用来指定包的名字。
l extends:可选属性,用来指定该包继承其他包。继承其它包,可以继承其它包中的Action定义、拦截器定义等。
l namespace:可选属性,用来指定该包的命名空间。
-Struts2 fr a mework core components is Action, interceptors, etc., Struts2 fr a mework uses packages to manage such Action and interceptors. Each package is more Action, multiple interceptors, multiple interceptors collection of references. In struts.xml file package element is used to define the package configuration, each package element defines a package configuration. It is commonly used attributes are: l name: Required attribute that specifies the name of the package. l extends: optional attribute that specifies the package inherits other packages. Inherit other packages, other packages can be inherited in Action defined interceptor definition. l namespace: optional attribute that specifies the package namespace.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
struts2_01\.classpath
..........\.mymetadata
..........\.project
..........\.settings\.jsdtscope
..........\.........\org.eclipse.wst.jsdt.ui.superType.container
..........\.........\org.eclipse.wst.jsdt.ui.superType.name
..........\src\example\ExampleSupport.java
..........\...\.......\HelloWorld.java
..........\...\.......\Login-validation.xml
..........\...\.......\Login.java
..........\...\.......\package.properties
..........\...\.......\package_es.properties
..........\...\example.xml
..........\...\LICENSE.txt
..........\...\NOTICE.txt
..........\...\struts.xml
..........\WebRoot\classes\example\ExampleSupport.class
..........\.......\.......\.......\HelloWorld.class
..........\.......\.......\.......\Login-validation.xml
..........\.......\.......\.......\Login.class
..........\.......\.......\.......\package.properties
..........\.......\.......\.......\package_es.properties
..........\.......\.......\example.xml
..........\.......\.......\struts.xml
..........\.......\index.jsp
..........\.......\META-INF\MANIFEST.MF
..........\.......\WEB-INF\classes\example\ExampleSupport.class
..........\.......\.......\.......\.......\HelloWorld.class
..........\.......\.......\.......\.......\Login-validation.xml
..........\.......\.......\.......\.......\Login.class
..........\.......\.......\.......\.......\package.properties
..........\.......\.......\.......\.......\package_es.properties
..........\.......\.......\.......\example.xml
..........\.......\.......\.......\LICENSE.txt
..........\.......\.......\.......\NOTICE.txt
..........\.......\.......\.......\struts.xml
..........\.......\.......\index.html
..........\.......\.......\lib\commons-fileupload-1.2.1.jar
..........\.......\.......\...\commons-io-1.3.2.jar
..........\.......\.......\...\commons-logging-1.1.jar
..........\.......\.......\...\freemarker-2.3.13.jar
..........\.......\.......\...\junit-3.8.1.jar
..........\.......\.......\...\ognl-2.6.11.jar
..........\.......\.......\...\spring-test-2.5.6.jar
..........\.......\.......\...\struts2-core-2.1.6.jar
..........\.......\.......\...\web.xml
..........\.......\.......\...\xwork-2.1.2.jar
..........\.......\.......\web.xml
..........\.......\.......\classes\example
..........\.......\classes\example
..........\.......\WEB-INF\classes
..........\.......\.......\lib
..........\src\example
..........\WebRoot\classes
..........\.......\META-INF
..........\.......\WEB-INF
..........\.myeclipse
..........\.settings
..........\src
..........\WebRoot
struts2_01