If you want to use
the same Struts subrelease as our examples, just grab struts-blank.zip
from the book??™s source code archive.
2. Update your CLASSPATH. To compile your Struts-based Web applications,
add struts-core-1.3.5.jar to the CLASSPATH used by your
compiler or IDE.
3. Bookmark the Struts documentation. You can access the documentation
online at http://struts.apache.org/1.x/learning.html. Alternatively,
you can download a copy of the documentation for local access.
The following subsections give details on each of these steps.
Downloading Struts
To use Struts, all you really need is a blank Web application to use as the starting
point for your Struts-based apps. Struts is a library that works within a regular servlet
and JSP environment; it is not a server or a new programming language. Therefore, if
you have a template Web application with the appropriate JAR files, supporting files,
and web.xml settings, you have Struts. That means that all you absolutely need to
download is the struts-blank template Web application; nothing else is required. You
can find the struts-blank template in the examples distribution, struts-1.3.5-apps.zip.
10.2 Setting Up Struts 447
The Apache Struts Web site also has a fuller distribution that includes a local copy of
the documentation, examples, and source code, but this fuller distribution is
optional, not required.
Grab the struts-blank-1.
Pages:
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493