I must be doing something wrong here.  In my code, I have the following
line:

 ServletContext servletContext = getServletConfig().getServletContext();

 String fileName = (String) servletContext.getAttribute("filename");

Now, this should return a string which I've setup in web.xml.  Here is
the relevant part of web.xml:

<web-app>
 <context-param>
  <param-name>filename</param-name>
  <param-value>c:\temp\file.txt</param-value>
 </context-param>
.....

But instead, this code is returning null.  Has this method not been
implemented?

Thanks,

Paolo


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

Reply via email to