Solved

Download struts API documentation

Posted on 2004-03-21
6
5,415 Views
Last Modified: 2013-11-24
Does anyone know where can I download Struts API documentation?
Like Java API documentation can be downloaded, I wish i can download api documentation for struts.
0
Comment
Question by:ricjava
  • 3
  • 3
6 Comments
 
LVL 1

Expert Comment

by:jkrippy
ID: 10646458

Here is the live version of the Struts JavaDoc API documentation:  http://jakarta.apache.org/struts/api/index.html

Of course, you did ask to download it, for that you'll need to pull down the src version of Struts and compile it.  The build.xml that is included in the Struts src download contains a target 'compile.javadoc' which will create the API for you locally.
0
 

Author Comment

by:ricjava
ID: 10646487
How can i get the src version of struts...pls describe in more details
0
 
LVL 1

Accepted Solution

by:
jkrippy earned 50 total points
ID: 10646791

You need to download the src (source code) version of Struts.  One possible link is from the Mirror site at:  http://www.wmwweb.com/apache/jakarta/struts/source/jakarta-struts-1.1-src.zip

You can get a list of source code versions of the Jakarta projects from: http://jakarta.apache.org/site/sourceindex.cgi

Once you have pulled down the jakarta-struts-1.1-src.zip archive, you will need to extract it into a directory on your harddrive.  You will then need to use ant to run the 'build.xml' that is shipped with the jakarta-struts-1.1-src.zip archive.  The command 'ant compile.javadoc' should be sufficient to generate the API documentation.  It uses the 'javadoc' command to parse the JavaDoc comments embedded within the source code of Struts and generate API documentation from those comments.  

If you do not have ant, it is also available from Apache.  Its home is at: http://ant.apache.org/

0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:ricjava
ID: 10648051
Do i need to install ant into the directory where i extracted the src of struts?
0
 
LVL 1

Expert Comment

by:jkrippy
ID: 10648670

You can install ant anywhere you like, you will however need to have the path to the 'ant' script in your PATH such that you can run it.  Or, alternatively, you could give the full path to the 'ant' script and run it that way.  There are many ways, of course, to run this and they are all operating system dependent.

If you had version 1.5.4 of ant, for instance, you would need to be running the script located at apache-ant-1.5.4/bin/ant ... I would recommend you get the latest verion of ant that is available for download.


0
 

Author Comment

by:ricjava
ID: 10673236
thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question