Solved

Download struts API documentation

Posted on 2004-03-21
6
5,438 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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 functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

734 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