FilterConfig.getServletContext()
(*Chris*)
- Original Message -
From: "Marc-andre Thibodeau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 9:28 AM
Subject: [SERVLET-INTEREST] Getting ServletContext attributes from a Filter
&g
How about:
public void init(FilterConfig config) throws ServletException {
this.filterConfig = config;
}
public void doFilter(ServletRequest req, ServletResponse r,
FilterChain chain) throws IOException, ServletException {
...
filte
Hi,
Is there a way to get a reference to the ServletContext from the
doFilter() method of a Filter in order to get an attribute in it? (just
like servlet.getServletContext.getAttribute("attributeName"); in a
servlet...) I already searched the archive but found nothing on this
subject.
MA