|
From: Rob M. <Rob...@pe...> - 2004-04-27 20:09:16
|
Hey, Matt, I ran into something similar -- perhaps it is the issue you are facing. If you are running in a container that doesn't follow the Servlet 2.4 initialization order you will not be able to use the ContextLoaderListener. Instead, you'll need to use the ContextLoaderServlet and ensure that it loads before the DispatcherServlet. When I came across this it was manifested by a failed dependency -- that is, the reference I expected to be available wasn't in the context so configuration failed. HTH, Rob Matt Raible wrote: > I figured out what the issue is - but don't know how to fix it. If I > put the validatorFactory into my "applicationContext.xml", then > everything works as expected. But if I put it into > "action-servlet.xml", then it doesn't work. It would be nice if it were > able to be in both places. If it can't be, it should probably be > documented and explained. > > Matt > |