2003. janu�r 21. 10:58 d�tummal Simon Kelly ezt �rtad:
> Hi,
>
> Does anyone know how to access ServletConfig and ServletContext from within
> any class derived from the org.apache.struts.action.Action class?

There is a field called servlet, so you can use servlet.getServletContext();

http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.html#servlet

Hth,

Tib

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

Reply via email to