Solved

Download struts API documentation

Posted on 2004-03-21
6
5,426 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.

679 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