On Fri, 4 Oct 2002, Madhavi Thottempudi wrote:

> Date: Fri, 04 Oct 2002 11:34:50 +0100
> From: Madhavi Thottempudi <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: global variables
>
> Hi!
> Where can I set global variables and get them back in Struts. Because I see
> that Action beans extending struts Action bean doesn't get servlet in their
> perform method.
>

That's because you can just call getServlet() on your Action -- it's part
of the base class :-).

Craig

> public ActionForward perform(ActionMapping mapping,
>                                ActionForm form,
>                                HttpServletRequest request,
>                                HttpServletResponse response)
>
> Any suggestions???
>
> Thanks
> -M
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to