I guess you're right...
web.xml initializes the applicationContext-acegi-security.xml.
web.xml
Code:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/applicationContext-acegi-security.xml
/WEB-INF/applicationContext-jdbc.xml
</param-value>
</context-param>
Then the exceptionTranslationFilterit redirects to /jsp/user/login.jsp. And on the way the dispatcher-servlet is not executed?
applicationContext-acegi-security.xml
Code:
<bean id="exceptionTranslationFilter"
class="org.acegisecurity.ui.ExceptionTranslationFilter">
<property name="authenticationEntryPoint">
<bean
class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint">
<property name="loginFormUrl" value="/jsp/user/login.jsp"/>
<property name="forceHttps" value="false"/>
</bean>
</property>
</bean>
dispatcher-servlet
Code:
<bean id="messageSource"
class="org.springframework.context.support.ResourceBundleMessageSource">
<property name="basename"><value>messages</value></property>
</bean>
where messageSource is initialized...
Is that right? What can I do to fix it?