struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Epelde" <aepe...@entelibai.com>
Subject RE: how do i get the reference of ServletContext in Action Class
Date Thu, 24 Jun 2004 06:47:33 GMT
Sorry, you should get a reference to the servlet calling your action's
getServlet() method. And then use the getServletConfig() or
getServletContext() methods. There is no getServletContext() method in
the Action class.

-----Mensaje original-----
De: Asim Ghosh [mailto:asimghosh26@yahoo.co.uk] 
Enviado el: jueves, 24 de junio de 2004 8:19
Para: user@struts.apache.org
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message