Christophe,

That will work. Also, you may need to explicitly cast the datatype returned.

Brian

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 22, 2002 1:16 PM
Subject: Get ServletContext from Action (Struts 1.0.2)


>
> Hello,
> Can you tell me how to obtain the ServletContext in a Struts 1.0.2 Action.
> Is the getServlet().getServletContext() call on my action the good way to
> do that ?
>
> Thanks.
>


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

Reply via email to