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=14736>.
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=14736

Unable to set servlet init parameters from web.xml and application context





------- Additional Comments From [EMAIL PROTECTED]  2002-11-21 21:40 -------
FYI: as far as web.xml goes, the example you posted here will place an init 
parameter in the servlet context, not the servlet.

instead of:
     String name = getServletConfig().getInitParameter("LoggerName");

try this:
     String name = getServletContext().getInitParameter("LoggerName");

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

Reply via email to