没有映射添加此登录链接到我的春天应用程序:在DispatcherServlet的发现HTTP请求与URI [/应用/ j_spring_security_login]名为“调度”
<a href="<spring:url value="/j_spring_security_login" htmlEscape="true" />">
Sign In
</a>
我的假设是,因为这是一个建-in标签来访问登录页面,Spring会知道如何将它与一个合适的处理程序关联起来,而无需我明确指定它。
但是,它会生成以下错误:
org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping found for HTTP request with URI
[/app/j_spring_security_login] in DispatcherServlet with name 'dispatcher'
什么是适当的方式来定义这个URL处理程序?
是的,我有一个servlet映射调度器在web.xml中。 – apfel 2010-08-15 21:15:18