This tutorial explains where to get Cactus samples and how to use
them.
There are some samples available as part of the documentation. The
samples depend on the kind of test case you are writing (Servlet,
Taglibs, Filters, ...). For this reason you'll find some samples
in the TestCase Howto
tutorial.
However, the majority of Cactus samples are in the form of source
samples. These samples are part of the Cactus distribution that
you have downloaded (in the sample/src
directory).
The following section explains how to execute the Cactus Samples
using Ant (the Samples are packaged to be executed with Ant).
If you wish to integrate them in your own build system or in your
favorite IDE, you'll have to understand the principles first and
manually install them (read the
Getting Started
and the Configuration Howto
tutorials). Some detailed explanations for IDE integration
are also available in the IDE Howto
tutorial.