问题可能是您缺少页面中的上下文路径,请尝试以下方式:
<a href="${pageContext.request.contextPath}/Login">login</a>更新:
您能否也添加
<mvc:annotation-driven/>到您的
main-servlet.xml

问题可能是您缺少页面中的上下文路径,请尝试以下方式:
<a href="${pageContext.request.contextPath}/Login">login</a>更新:
您能否也添加
<mvc:annotation-driven/>到您的
main-servlet.xml