Action class has a getServletConfig method which returns a ServletConfig object. You can get a reference to the ServletContext object throught this object's getServletContext() method.
I also think you can directly call Action's getServletContext() (which is inherited from GenericServlet) depending of your servlet api version. -----Mensaje original----- De: Asim Ghosh [mailto:[EMAIL PROTECTED] Enviado el: jueves, 24 de junio de 2004 8:19 Para: [EMAIL PROTECTED] Asunto: how do i get the reference of ServletContext in Action Class hello guys, can any one tell me that how do i get the reference of ServletContext in Action Class. asim --------------------------------- ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]