Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
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

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? http://www.springframework.org/docs/api/org/springframework/web/context/ServletContextAware.

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
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 >>

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

2007-01-31 Thread Tom Schneider
> sure that >>> ServletActionContext.getServletContext was prepared to return a >>> usable >>> value. >>> >>> Joe >>> >>> >>> On 1/31/07, Nagraj Rao <[EMAIL PROTECTED]> wrote: >>>> >>>> were u actually

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
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

Re: [s2] getting servletContext in actions

2007-01-31 Thread Tom Schneider
--- 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 >

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
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

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
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

Re: [s2] getting servletContext in actions

2007-01-31 Thread Nagraj Rao
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

[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: [EM