public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
request.getRequestDispatcher("WEB-INF/xx/index12.jsp").forward(request, response);
}报错
Exception in thread "http-bio-8080-exec-4" java.lang.StackOverflowError
at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:209)
at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:228)
at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:228)
请问 如何解决?
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
request.getRequestDispatcher("WEB-INF/xx/index12.jsp").forward(request, response);
}报错
Exception in thread "http-bio-8080-exec-4" java.lang.StackOverflowError
at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:209)
at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:228)
at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:228)
请问 如何解决?
解决方案 »
- 求高效排序方法_按指定模板
- mysql支持临时表吗
- 请各位大虾帮忙,连接问题
- org.hibernate.hql.ast.QuerySyntaxException 这个异常很奇怪,大家来看看~~很着急啊
- javaweb里面如何定时处理呢?(SSH开发)
- struts2+hibernate3+spring2出现java.lang.NullPointerException
- 急急急~~使用struts框架,页面代码过长,导致无法显示出错,请问要怎样解决~
- 请问Applet画的线在页面如何实现点击线弹出消息框?
- Struts标签中<html:select >用法,在线等待
- 请教关于ejb的一个问题
- 一个项目如何使用另一个项目中的属性文件
- 初学者: java垃圾回收器
改为
this.getServletContext().getRequestDispatcher("WEB-INF/xx/index12.jsp").forward(request, response);