Solved

Download struts API documentation

Posted on 2004-03-21
6
5,406 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
Comment Utility

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
Comment Utility
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
Comment Utility

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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

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

Expert Comment

by:jkrippy
Comment Utility

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
Comment Utility
thanks
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

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 will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This video teaches viewers about errors in exception handling.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now