David C. Hicks [mailto:[EMAIL PROTECTED] wrote
> I'm stuck with version 2.0.3 due to dependencies - I
> think because spring-jpa hasn't caught up
Looks like spring-jpa has moved to spring-orm in 2.5
org.springframework
spring-orm
The ContextLoaderListener should work in Spring 2.0.x though.
Have
I see. Thanks for the feedback.
Ron Chan wrote:
I've not used Spring for a while so I can't answer your question directly.
But all I'm trying to do is get access to something that would have been
correctly initialized had I been under struts. i.e. my QuartzService
example was already working
I've not used Spring for a while so I can't answer your question directly.
But all I'm trying to do is get access to something that would have been
correctly initialized had I been under struts. i.e. my QuartzService
example was already working under struts, I just wanted to make the
scheduler
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 dep
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 Co
Ron, this is a great tip! Thanks! I do have one question, though. Any idea
how one might go about getting the Spring web context using this method?
Normally, I would have extended ContextLoaderServlet. Our experience, so
far, has been that it's nearly impossible to get another servlet to play
but this does not give me access to the Guice injector, which is what I
wanted. I think the ServletContextListener would work only if using Spring.
Chris Pratt wrote:
>
> I think the more common way is to use a standard ServletContextListener.
> (*Chris*)
>
> On Tue, Sep 30, 2008 at 2:16 A
I think the more common way is to use a standard ServletContextListener.
(*Chris*)
On Tue, Sep 30, 2008 at 2:16 AM, Ron Chan <[EMAIL PROTECTED]> wrote:
>
> There's been a number of messages about this, and I've tried a number of
> different suggestions. After going round in circles for a few d
8 matches
Mail list logo