atitit.404错误调查过程汇总
2015-09-24 20:29
225 查看
atitit.404错误调查过程汇总
#----------jsp head errorPage=""
del zeu ok le.
#------resin server。
俩个应用配置到了相同的的目录..
paip.404err two app cfg one same dir
/ cant access
/app1 only can access ..
envi ..resin4..
作者: 老哇的爪子Attilax 艾龙, EMAIL:1466519819@qq.com
来源:http://blog.csdn.net/attilax
#------404 urlrewrite 伪静态调用失败
使用了urlrewrite伪静态可是,没有找到规则相应。。查看日志能够解决..
#-----------1.应用没有启动sucess... 查看log或者webserver管理控制台....
C:\resin-4.0.36\resin.exe --server homiSearchServerServerID console
C:\resin-4.0.36\resin.exe --server homiSearchServerServerID console
查看log....
logz上能看到个全部的mvc url路线..使用npp过滤寻找..一哈就砍出来兰..
#-----要是使用了struts...struts中断了流程...查看struts配置..
#----2.spring mvc @Controller问题
//todo o40 must ctrl... if compent cant be find.. ioc contl==comp but mvc not equi..
@Controller
public class visitorBlockService {
#-----3.spring mvc 导入 ModelAndView 错误
import org.springframework.web.portlet.ModelAndView;
不应该引入这个ModelAndView 应该引入:
import org.springframework.web.servlet.ModelAndView;
#-----可能filter wirte err...
spr.jsp
yaosi dis chain.doFilter ,and no forward...then empty...output...
if(requestURI.endsWith("spr.jsp")){
// resume to access chain.doFilter(request, response);
core.log("-- endsWith spr.jsp stop the chainfileter");
RequestDispatcher requestDispatcher = request.getRequestDispatcher("spr.jsp");
requestDispatcher.forward(request, response);//这两句怎么解释啊?
// ((HttpServletResponse)response).flushBuffer()
return;
}
#-------使用了域名配置方式,可是使用ip訪问
resin4.0.22会这个问题..
參考
.spring mvc 404错误的解决
spring mvc ModelAndView 404 变态 - VC MFC.htm
#----------jsp head errorPage=""
del zeu ok le.
#------resin server。
俩个应用配置到了相同的的目录..
paip.404err two app cfg one same dir
/ cant access
/app1 only can access ..
envi ..resin4..
作者: 老哇的爪子Attilax 艾龙, EMAIL:1466519819@qq.com
来源:http://blog.csdn.net/attilax
#------404 urlrewrite 伪静态调用失败
使用了urlrewrite伪静态可是,没有找到规则相应。。查看日志能够解决..
#-----------1.应用没有启动sucess... 查看log或者webserver管理控制台....
C:\resin-4.0.36\resin.exe --server homiSearchServerServerID console
C:\resin-4.0.36\resin.exe --server homiSearchServerServerID console
查看log....
logz上能看到个全部的mvc url路线..使用npp过滤寻找..一哈就砍出来兰..
#-----要是使用了struts...struts中断了流程...查看struts配置..
#----2.spring mvc @Controller问题
//todo o40 must ctrl... if compent cant be find.. ioc contl==comp but mvc not equi..
@Controller
public class visitorBlockService {
#-----3.spring mvc 导入 ModelAndView 错误
import org.springframework.web.portlet.ModelAndView;
不应该引入这个ModelAndView 应该引入:
import org.springframework.web.servlet.ModelAndView;
#-----可能filter wirte err...
spr.jsp
yaosi dis chain.doFilter ,and no forward...then empty...output...
if(requestURI.endsWith("spr.jsp")){
// resume to access chain.doFilter(request, response);
core.log("-- endsWith spr.jsp stop the chainfileter");
RequestDispatcher requestDispatcher = request.getRequestDispatcher("spr.jsp");
requestDispatcher.forward(request, response);//这两句怎么解释啊?
// ((HttpServletResponse)response).flushBuffer()
return;
}
#-------使用了域名配置方式,可是使用ip訪问
resin4.0.22会这个问题..
參考
.spring mvc 404错误的解决
spring mvc ModelAndView 404 变态 - VC MFC.htm
相关文章推荐
- hadoop结构出现后format变态
- POJ 3061 Subsequence (迟取法_预处理,连续子序列)
- 近期SDN学习中遇到的小问题记录
- 精通 JavaScript中的正则表达式
- 用C#写数据库大作业
- 微信移动应用接入开发, Android 授权微信登录获取openid,unionid等,score参数错误或者没有scope权限
- 详解StringTokenizer函数
- 寻找单向循环链表的环的开始结点
- JAVA类的方法调用和变量(全套)
- 0923Android基础代码管理工具SVN
- sort 使用简介
- PackageManager获取指定类别应用程序
- S5PV210的启动流程解读
- JS模拟简易滚动条
- 如何使用socket进行java网络编程(二)
- 设计模式之禅之六大设计原则-单一职责原则
- iOS开发开关
- Android samples API Demos之UI篇2(ActivitySceneTransitionBasic)
- Diskpart - convert disk to gpt format
- 【正则表达式】——限制只能输入数字和小数点及位数