-
Jul 5th, 2011, 01:47 PM
#1
ehcache integration with spring mvc 3.0.3 and spring secuirty 3.0.5 not working
My application is working perfect with no errors but ehcache is not working .
i had referred a blog http://blog.goyello.com/2010/07/29/q...ns-for-spring/ .
below i am confused with 1 of the thing probably which i need clarification.
In my web.xml i had contextparam where i am loading context and secuirty xml files on which my ehcache not works
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/decibel-context.xml
/WEB-INF/decibel-security.xml
</param-value>
</context-param>
(not complete web.xml of my project)
while on above blog link he used to call the context file in init param tag in where ehcache works
<servlet>
<description></description>
<servlet-name>springServlet</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherSe rvlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/spring-context.xml
</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>springServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
(not complete web.xml of his project )
not sure that problem is from security file or init param or context param loading
please help me on this
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules