You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Sample Applications with Java 1.4.x

The Struts 2 home page states the Struts 2 requires Java 5. However, an alternate set of jars for Java 1.4.x are available. The challenge here is for people using Java 1.4.X is that the sample apps come with the Java 5 jars

Visit Stuts 2 Documentation for the official project documentation


Getting the Sample applications to work on 1.4.x

What are the sample applications ?

The sample applications available with Struts 2.x include:
struts2-blank-2.0.x.war
struts2-mailreader-2.0.x.war
struts2-portlet-2.0.x.war
struts2-showcase-2.0.x.war

More Information on the Sample applications can be found here:

What are the required Jars present the sample applications ?

The sample application jars include:

commons-collections-3.1
freemarker-2.3.4
spring-aop-1.2.8
spring-context-1.2.8
spring-web-1.2.8
struts2-core-2.0.1
commons-logging-1.0.4
ognl-2.6.7
spring-beans-1.2.8
spring-core-1.2.8
struts2-api-2.0.1
xwork-2.0-beta-1

Where can the alternative "java 1.4.x" jars be found?

The Java 1.4.x zip file can be found (i.e. struts-2.0.x-j4.zip) :

It is important to note that you will have to replace the following jars with java 1.4.x equivalents.
spring-core-1.2.8
struts2-api-2.0.1
xwork-2.0-beta-1

  • No labels