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:
: 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
?? 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
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
: 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
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
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
@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
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?
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
10 matches
Mail list logo