If the build is unsuccessful, you will get (Web hosting packages)

If the build is unsuccessful, you will get a failed message, usually with enough information to determine the cause. For example, if you forget to put the xalan.jar in the /lib directory, the output will look similar to that in Figure B-2. Figure B-2. A stack trace is usually included in failed builds Assuming that the build was successful, the Struts binaries and dependent files are copied to the dist directory underneath the top-level source distribution directory. B.1.2 Installing the Binary Distribution Download the binary distribution and unpack it into a directory. The files are in a subdirectory called jakarta-struts within the distribution. As with the source distribution, you can download either a ZIP file or a compressed TAR file. You can obtain the binary distribution from http://jakarta.apache.org/site/binindex.html. If you built Struts from the source distribution, the binary files will already be unpacked into the dist/lib directory of the top-level source distribution directory. The following steps need to be performed for a Struts application to work properly. Any necessary container-dependent modifications to these steps are discussed in the sections for the individual containers later in this appendix. 1. Copy all of the JAR files from the distribution’s lib directory to the web application’s WEBINF/lib directory.
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.

Leave a Reply