vmassol 01/08/02 02:02:27
Modified: cactus/docs/framework/xdocs ide_vajava.xml
Log:
added changes requested by Todd Iddler to make the sample application provided with
the Cactus distribution work.
Revision Changes Path
1.3 +21 -8 jakarta-commons/cactus/docs/framework/xdocs/ide_vajava.xml
Index: ide_vajava.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/cactus/docs/framework/xdocs/ide_vajava.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ide_vajava.xml 2001/07/03 09:05:30 1.2
+++ ide_vajava.xml 2001/08/02 09:02:27 1.3
@@ -93,16 +93,28 @@
</p>
<source><![CDATA[
- <websphere-webgroup name="test">
- <description>Cactus Testing Web Application</description>
- <document-root>$approot$/web</document-root>
- <classpath>$approot$/servlets</classpath>
- <root-uri>/test</root-uri>
- <auto-reload enabled="true" polling-interval="3000"/>
- <shared-context>false</shared-context>
- </websphere-webgroup>
+ <servlet>
+ <name>ServletRedirector</name>
+ <description>Cactus Testing ServletRedirector</description>
+ <code>org.apache.commons.cactus.server.ServletTestRedirector</code>
+ <servlet-path>/ServletRedirector</servlet-path>
+ <autostart>false</autostart>
+ <init-parameter>
+ <name>param1</name>
+ <value>value1 used for testing</value>
+ </init-parameter>
+ </servlet>
]]></source>
+ <note>
+ The <code>init-parameter</code> is only needed if you wish to run
+ sample application provided in the Cactus distribution. Also, in
+ order to run this sample application you'll need to copy the
+ <code>{Cactus dir}/sample/web/test/test.jsp</code> file to
+ <code>{WTE dir}/hosts/default_host/test/web/test</code> as it is
+ used by a test case.
+ </note>
+
</s2>
<s2 title="Create a test directory">
@@ -228,6 +240,7 @@
{VAJava dir}\ide\project_resources\JUnit\;
{VAJava dir}\ide\project_resources\Cactus\;
{VAJava dir}\ide\project_resources\Log4j\;
+{VAJava dir}\ide\project_resources\Servlet API Classes\;
]]></source>
</s1>