they aren't available to you if they were only in the init params for
your Servlet.

There are two ways to get make this work.  The first is to configure
init params for the ServletRedirector you added to the web.xml file when
configuring Catcus.  These init params will be available to all your
servlets.  

Probably the most flexible way is to set the init params in your
testXXX() method using:

config.setInitParameter("my-init-param", "value of my init param");




-----Original Message-----
From: Thomas Kettenbach [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2001 15:33
To: [EMAIL PROTECTED]
Subject: Initialization of Servlets with IBM WSAD 4.0?


The servlets i like to test need some init-params provided in the
web.xml
file for my web-app. If i create a servlet within a cactus test case,
are
these
parameters automaticly provided by the ServletRedirector? Or do i need
to configure something?

Please help,
Thomas



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to