j_spring_security_check 404错误
来源:互联网 发布:大华淘宝客助手 编辑:程序博客网 时间:2024/06/05 08:31
折腾了好久,还是写一篇备忘
首先检查路径
<form class="form-signin" method="POST" action="<%=request.getContextPath()%>/j_spring_security_check" name='f'> <h2 class="form-signin-heading">Please sign in</h2> <input type="text" class="input-block-level" placeholder="User" name="j_username"> <input type="password" class="input-block-level" placeholder="Password" name="j_password"> <label class="checkbox"> <input type="checkbox" value="remember-me"> Remember me </label> <button class="btn btn-large btn-primary" type="submit">Sign in</button> </form>这里没有问题
2检查
myAuthenticationManager有么有实现
3有人说有问题,
<servlet-mapping>
我发现不是这个导致的
4,配置文件检查了好多遍,没有发现问题
发现<intercept-url pattern="/*" filters="none" />导致的问题,
<intercept-url pattern="/" filters="none" />
<intercept-url pattern="/*.do" filters="none" />等等都没有问题,就是/*不行
擦,我原来是do后缀的,后来统一去掉了,这里不小心就完蛋了,检查了2天没发现这个问题,悲伤啊
0 0
- j_spring_security_check 404错误
- Spring j_spring_security_check报404错误
- j_spring_security_check 404
- 【spring-security】j_spring_security_check 404
- springmvc登录的时候,发送请求j_spring_security_check
- 404错误
- 404错误
- 404错误
- 404错误
- 500错误和404错误
- 404错误和500错误
- 404错误、405错误、500错误出错原因
- 404错误、405错误、500错误出错原因
- 403错误与404错误的交集
- 处理404错误页面
- 自定义404错误页面
- struts2 捕获404错误
- asp.net 404错误
- System UI 调试方法
- Cannot find executable for CFBundle
- Activity与Task
- 2014腾讯实习一面面试题
- SharpDevelop 使用笔记
- j_spring_security_check 404错误
- MySQL日期时间函数大全
- 类一定要定义拷贝构造函数,特别是在类成员含有指针的情况(不论指针是何种类型),安全!!!
- "对COM 组件的调用返回了错误 HRESULT E_FAIL"的解决方法
- CIO
- 作为程序员,这些地方不知道就out了!
- linux定时任务的设置
- C++默认参数
- 如何在阿里云服务器搭建FTP服务器,在本地电脑连接并操作