Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [s2] getting servletContext in actions

Joe Germuska

2007-01-31

Replies:

On 1/31/07, Tom Schneider <schneidh@(protected):
>
> 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.html

Joe

--
Joe Germuska
Joe@(protected)

"The truth is that we learned from João forever to be out of tune."
-- Caetano Veloso
©2008 junlu.com - Jax Systems, LLC, U.S.A.