struts2.3.4 Essential Jar Package

Source: Internet
Author: User
struts2.3.4 Essential Jar Package
Asm-3.3.jar

asm-commons-3.3.jar

asm-tree-3.3.jar

Commons-fileupload-1.2.2.jar

Commons-io-2.0.1.jar

commons-lang3-3.1.jar

commons-loggin-1.1.1.jar

Freemarker-2.3.19.jar

Javassist-3.11.0.ga.jar

ognl-3.0.5.jar

strut2-core-2.3.4.jar

Xwork-core-2.3.4.jar



struts2.1.6, you need at least the following 6 jar packages:
Struts2-core-2.1.6.jar
Freemarker-2.3.13.jar
Commons-logging-1.0.4.jar
Ognl-2.6.11.jar
Xwork-2.1.2.jar
Commons-fileupload-1.2.1.jar







1, Commons-beanutils.jar
Commons-beanutils This is a sub-project in the Jakarta Commons project. The purpose of this project is to help developers dynamically get/set values for Java Bean Properties while solving the hassle of writing getxxx and setxxx each time.

2, Commons-digester.jar
Digester was originally just a tool in Jakarta struts for working with struts-config.xml configuration files. Obviously, converting an XML file into a corresponding Java object is a very common feature that should be used for a wider range of purposes, so it soon has a place in the Jakarta Commons project, which provides a library of reusable Java components.
Internally, struts uses digester from the Jakarta commons[asf, Commons] project to parse the struts configuration file. Digester uses the Struts-config DTD to verify the format of the document and to create a Java object that the document describes. If the XML file contains an informally documented element, or if the element is used informally, digester will not process the file.

3, Commons-fileupload.jar
Commons-fileupload FileUpload makes it easy to upload files in struts, where you can easily add powerful and high-performance file uploads in applications and Servlets.

The verification framework for struts relies on the following two packages:

4, Commons-validator.jar
(calibration method) and calibration rules. Support for the internationalization of checksum error messages. Struts uses it to validate the form.

5, Jakarta-oro.jar
Commons-el Commons-jexl Search Jakarta ORO Jakarta ORO A set of text processing tools that provide perl5.0-compatible regular expressions, awk-like regular expressions, and glob expressions. Also provides functions such as replacement, segmentation, file name filtering and so on.

6, Struts.jar
Struts core package.
A little bit of other jar bags
7, Commons-collections.jar
Extends the standard Java Collection framework, providing additional map, List, and set implementations, as well as a number of useful tool class libraries. Features are more powerful than java.util.*.
8, Commons-logging.jar:
One of the Apache Commons packages that contains the log function. The package itself contains a simple Logger, but the function is very weak. In the run time it will first find log4j in Classpath, if there is, the use of log4j, if not, find JDK1.4 with the java.util.logging, if you can not find the simple Logger.
Commons-logging.jar's appearance is a historical legacy of regret, originally Apache lobbied Sun log4j to join JDK1.4, but JDK1.4 project team is close to release JDK1.4 product time, so rejected Apache requirements, use their own Java . util.logging, this package has a far worse function than log4j, and the performance is general.
Later, Apache developed the Commons-logging.jar to be compatible with two logger. Therefore, the log program written with Commons-logging.jar, the underlying Logger can be switched, you can choose log4j,java.util.logging or its own simple Logger. However, I still strongly recommend the use of log4j, because the log4j performance is very high, log output information time is almost equal to System.out, and processing a log on average only need 5us. You can find the log4j configuration file that hibernate has prepared for you in the SRC directory of hibernate, you just need to go to the Apache website to download log4j. Commons-logging.jar is also a required jar package.

9, Jta.jar; the jar package for the transaction:

10. Dom4j.xml Parsing XML file:

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.