Multiple config files for spring security?

This answer relates to springframework 2.5.6, it might have changed in later versions.

This answer relates to springframework 2.5.6, it might have changed in later versions. * use the pattern /WEB-INF/servlet-name-servlet. Xml or specify it in the web.

Xml like this: handler org.springframework.web.servlet. DispatcherServlet contextConfigLocation /WEB-INF/spring-myconfig. Xml 2 If you do not set the contextConfigLocation it defaults to handler-servlet.

Xml (at least in this example). Application wide stuff belongs into /WEB-INF/applicationContext.xml. But you also can change the default and even add multiple files: org.springframework.web.context.

ContextLoaderListener contextConfigLocation WEB-INF/spring-dao-hibernate. Xml, WEB-INF/spring-services. Xml, WEB-INF/spring-security.

Xml you can find a more specific answer on the spring website, the documentation is quite good.

Hmm, I think I didn't explain myself well. What I'm trying to say, is, that if it's possible to have a config file like: And another one with: some other url patterns and have both take effect.

This is not an answer! You should edit you're question for this. – Kdeveloper Apr 28 '10 at 21:58 Sorry it's the first time I've used stackoverflow, no need to shout, though.

– Cybrid May 25 '10 at 19:50.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions