I've been working with ContextLoaderListener for a while this afternoon, but I think I have a problem with dependencies. The latest API docs on Spring indicate that you can get the current web application context from a static method on ContextLoader, but I'm stuck with version 2.0.3 due to dependencies - I think because spring-jpa hasn't caught up. At least, that's my guess from looking at the Maven repository.

The end result is that I haven't found a way to get hold of the web application context, yet. Surely, I'm not the only one who needs to do this to initialize some things before the app gets going. I figured someone here would know the secret sauce.

Thanks,
Dave


Brad A Cupit wrote:
From: dchicks [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 1:03 PM
Our experience, so far, has been that it's nearly
impossible to get another servlet to play nice with
Struts, though.

You could try Spring's
org.springframework.web.context.ContextLoaderListener
instead of the ContextLoaderServlet.
Brad Cupit
LSU - University Information Systems

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to