// Welcome to complete reference, reprint, you can contact me through http://www.dev-club.com.
Entry to Struts practice
Author: eight-legged fish
1. Introduction
Struts is an open source code project of apache Jakarta (
Http://jakarta.apache.org/struts/index.html), providing a framework for developing web applications ). Sturts recommends that you use the MVC Model 2 to develop web applications. Sturts provides Controller layer components that can be integrated with multiple existing Model layer and View layer technologies. Sturts can also help you build an extended development environment.
2. Installation
2. 1. Download struts source code and support libraries
Struts 1.1 beta1 is used in this article. Download: jakarta-struts-1.1-b1-src.zip,jakarta-struts-1.1-b1-lib.zip
2. Software Requirements
Installing Struts, especially when using source code to build Struts, requires a lot of support software.
Installing Struts is the required software
JDK, Version 1.2 or later (http://java.sun.com/j2se)
Servlet Container, supporting servlet specification 2.2 or higher, jsp specification 1.1 or higher; recommended is to use Tomcat 3.2 (http://jakarta.apache.org/tomcat) or above.
XML Parser, supporting JAXP specifications 1.1 or higher; it is recommended to use jaxp reference implementation (http://java.sun.com/xml ). Of course it can also be Xercers (http://xml.apache.org/xerces-j ).
The following are the software required to build Struts from the source code:
Ant Build system, the well-known ant, version 1.4 or above. Http://jakarta.apache.org/ant ).
Servlet API classes, http://jakarta.apache.org/builds/jakarta-servletapi
JDBC 2.0 Optional Package Classes, Struts supports javax. SQL. DataSource (http://java.sun.com/products/jdbc/download.html)
Jakarta Commons Packages, Struts uses some Packages of the Jakarta Common Project:
Beanutils (Version 1.0 or later) provides easy-to-use java reflection and introspection APIs.
Collections (Version 1.0 or later) provides a set of classes compatible and scalable with java Collections Framework.
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.