What I meant was my action classes start something like this:
public class SHSMI_Action extends Action {
The Action class has a method defined as:
public ActionServlet getServlet() { return null;}
> -----Original Message-----
> From: "rainer juenger" <[EMAIL PROTECTED]>@AFG
> Sent: Monday, September 09, 2002 4:16 PM
> To: Struts Users Mailing List
> Subject: Re: ServletContext in a Action
>
> Hi Chris
>
>
> >That's easy:
> >getServlet().getServletContext()
> >getServlet is in the Action class that you're extending...
>
> nope, Action does not extend HttpServelt but Object ...
> there for getServlet() can not be used.
>
> Rainer
>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>