Download struts API documentation

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.
Who is Participating?

Improve company productivity with a Business Account.Sign Up

jkrippyConnect With a Mentor Commented:

You need to download the src (source code) version of Struts.  One possible link is from the Mirror site at:

You can get a list of source code versions of the Jakarta projects from:

Once you have pulled down the 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 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:


Here is the live version of the Struts JavaDoc API documentation:

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.
ricjavaAuthor Commented:
How can i get the src version of struts...pls describe in more details
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

ricjavaAuthor Commented:
Do i need to install ant into the directory where i extracted the src of struts?

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.

ricjavaAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.