we need to do any additional stuff for that??
>>
>> ----- Original Message -
>> From: "Jeffrey Hau" <[EMAIL PROTECTED]>
>> To: "Struts Users Mailing List"
>> Sent: Wednesday, January 31, 2007 4:55 PM
>> Subject: [s2] getting servlet
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?
http://www.springframework.org/docs/api/org/springframework/web/context/ServletContextAware.
n'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"
>> Sent: Wednesday, January 31, 2007 4:55 PM
>>
> sure that
>>> ServletActionContext.getServletContext was prepared to return a
>>> usable
>>> value.
>>>
>>> Joe
>>>
>>>
>>> On 1/31/07, Nagraj Rao <[EMAIL PROTECTED]> wrote:
>>>>
>>>> were u actually
ional stuff for that??
- Original Message -
From: "Jeffrey Hau" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, January 31, 2007 4:55 PM
Subject: [s2] getting servletContext in actions
> Hi,
> If i need to get a servletContext object in
--- Original Message -
From: "Jeffrey Hau" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
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
>
7;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"
Sent: Wednesday, January 31, 2007 4:55 PM
Subject: [s2] getting servlet
ontextAware?? 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"
Sent: Wednesday, January 31, 2007 4:55 PM
Subject: [s2] getting s
List"
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
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: [EM
10 matches
Mail list logo