*/
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
. . .
}
}
Step2: Generate an HTML file called package.html for each source code package, and place it 
in the package directory. This is important! The Javadoc utility looks for this file in each package 
folder. 
Documentation of the example package
Included are all Java classes of the example package.
Step 3: Modify the build.xml file regarding the Javadoc command option, as shown below. The 
package names (which are as well the directory names) should be given under the 
packagenames parameter. 
sourcepath="src"
author="true"
version="true"
bottom="Copyright (c) 2001 MIT. All Rights Reserved."
destdir="${javadoc.home}"/>
  
Step 4: Build the documentation with the following command: 
$ ./build.sh javadoc
javadoc:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package myPackage...
[javadoc] Constructing Javadoc information...
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
BUILD SUCCESSFUL
Total time: 3 seconds
80 




Java Web Hosting Application Development Using Java Technologies Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.