• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JARs for Struts Programming

 
Ranch Hand
Posts: 71
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use the following link http://findjar.com/index.x
 
Saloon Keeper
Posts: 7582
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 71
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 71
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.)
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Deepak Kumar Jena
Ranch Hand
Posts: 71
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Saloon Keeper
Posts: 7582
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 71
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic