DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27125>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27125

servlet initialization parameters not available using 
config.getServletContext().getInitParameter("paramName") when testing

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2004-02-27 20:56 -------
Maksym, I think you're mixing Servlet Config and Servet Context. AFAIK, each 
Servlet has a unique Servlet Config object, whereas there is a single 
ServletContext object for the whole webapp. Thus init params for the Servlet 
Config are initialized within the web.xml definition of <servlet> (using <init-
param>). And init params for the Context are defined in web.xml by using the 
<context-param> tag.

Cactus provides a handy setInitParameter() method for Servlet Config only. 
I've just started adding one for the Servlet contex too (it's more complex 
than it looks but I shall have finished in a few days).

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

Reply via email to