File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes JARs for Struts Programming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JARs for Struts Programming" Watch "JARs for Struts Programming" New topic
Author

JARs for Struts Programming

Deepak Kumar Jena
Ranch Hand

Joined: Sep 08, 2010
Posts: 68

Need details about the JARs required for DispatchAction, LookupDispatchAction, MappingDispatchAction, IncludeAction and ForwardAction programming using Struts 1.x:

1. JARs to be present in the CLASSPATH
2. JARs to be present in the lib of the web application


dkj4jdk
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

Use the following link http://findjar.com/index.x


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Why wouldn't you just download Struts and use the jar files that come with it? Note that not all servlet containers (Tomcat, for example) make use of CLASSPATH.
Deepak Kumar Jena
Ranch Hand

Joined: Sep 08, 2010
Posts: 68

The information I am looking for is the JARs needed to be present in the CLASSPATH to compile the XXXAction(s) and the JARs needed in the lib folder of the application to run them properly. The complete set of JARs provided in the Struts distribution are not needed for each and every application as they are specific to some purpose only.
Deepak Kumar Jena
Ranch Hand

Joined: Sep 08, 2010
Posts: 68

Mohana Rao wrote:Use the following link http://findjar.com/index.x

It is the place to download the JARs. Need the information about the JARs (name, version, etc.)
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

I don't think anyone around here has done extensive work mapping all the dependencies of the various Struts classes. Why don't you start with the full compliment of JAR files (each Struts release comes with a "blank" application which is a good starting point) and remove the JAR's you don't think you need?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Deepak Kumar Jena
Ranch Hand

Joined: Sep 08, 2010
Posts: 68

Tim Moores wrote:Why wouldn't you just download Struts and use the jar files that come with it? Note that not all servlet containers (Tomcat, for example) make use of CLASSPATH.

Using the application specific JARs in the lib is a better approach of application development. The Struts distribution contains a number of JARs for different purpose (logging, beanutil, validation, etc). To minimize the size of the application the necessary JARs are only needed to be kept in the library.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Deepak Kumar Jena wrote:Using the application specific JARs in the lib is a better approach of application development.

Why? What specific problem are you trying to address? As Joe said, it is not possible to know in advance for any given scenario whether or not you're going to need one of the constituent jar files. You're not better off omitting some of them, you're off worse.
Deepak Kumar Jena
Ranch Hand

Joined: Sep 08, 2010
Posts: 68

Joe Ess wrote: I don't think anyone around here has done extensive work mapping all the dependencies of the various Struts classes. Why don't you start with the full compliment of JAR files (each Struts release comes with a "blank" application which is a good starting point) and remove the JAR's you don't think you need?

It will be appreciable if you can share some knowledge about the following JARs in the Struts 1.3 Distribution -
1. struts-core-1.3.10.jar
2. struts-extras-1.3.10.jar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JARs for Struts Programming