[s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
Hi, If i need to get a servletContext object in my action class, is implementing the ServletContextAware interface the standard way of doing this? Is there any other alternatives? thanks, Jeff - To unsubscribe, e-mail:

Re: [s2] getting servletContext in actions

2007-01-31 Thread Nagraj Rao
: Wednesday, January 31, 2007 4:55 PM Subject: [s2] getting servletContext in actions Hi, If i need to get a servletContext object in my action class, is implementing the ServletContextAware interface the standard way of doing this? Is there any other alternatives? thanks, Jeff

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
?? I'd tried it but couldn't get it :( do we need to do any additional stuff for that?? - Original Message - From: Jeffrey Hau [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, January 31, 2007 4:55 PM Subject: [s2] getting servletContext in actions Hi

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
it but couldn't get it :( do we need to do any additional stuff for that?? - Original Message - From: Jeffrey Hau [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, January 31, 2007 4:55 PM Subject: [s2] getting servletContext in actions Hi, If i need to get

Re: [s2] getting servletContext in actions

2007-01-31 Thread Tom Schneider
: Jeffrey Hau [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, January 31, 2007 4:55 PM Subject: [s2] getting servletContext in actions Hi, If i need to get a servletContext object in my action class, is implementing the ServletContextAware interface

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
Message - From: Jeffrey Hau [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, January 31, 2007 4:55 PM Subject: [s2] getting servletContext in actions Hi, If i need to get a servletContext object in my action class, is implementing the ServletContextAware

Re: [ot] [s2] getting servletContext in actions

2007-01-31 Thread Tom Schneider
Hau [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, January 31, 2007 4:55 PM Subject: [s2] getting servletContext in actions Hi, If i need to get a servletContext object in my action class, is implementing the ServletContextAware interface

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
@struts.apache.org Sent: Wednesday, January 31, 2007 4:55 PM Subject: [s2] getting servletContext in actions Hi, If i need to get a servletContext object in my action class, is implementing the ServletContextAware interface the standard way of doing this? Is there any other alternatives? thanks

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
On 1/31/07, Tom Schneider [EMAIL PROTECTED] wrote: It would be very easy to create a Spring FactoryBean for this. In this case, couldn't one simply implement Spring's ServletContextAware interface?

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
31, 2007 4:55 PM Subject: [s2] getting servletContext in actions Hi, If i need to get a servletContext object in my action class, is implementing the ServletContextAware interface the standard way of doing this? Is there any other alternatives? thanks, Jeff