Try this.
 ActionServlet servlet = getServlet();
 ServletContext ctxt = servlet.getServletContext();
 
-mel h
  Eddie Bush <[EMAIL PROTECTED]> wrote: Hey guys/gals =)

I'm trying to get a ServletContext object in one of my actions... but I don't seem to 
be having any luck.

Here is what I've tried:

servlet.getContext();
getServlet().getContext();

... neither of which seem to work, in spite of the fact that ActionServlet extends 
HttpServlet.

Thanks so much!

Eddie




---------------------------------
Do You Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball

Reply via email to