I would presume that your code will not even compile. The correct method name is getServletContext().
-----Original Message----- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 9:57 AM To: Struts Users Mailing List Subject: Getting a ServletContext 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 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

