tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ana <anbar...@yahoo.es>
Subject java.lang.StackOverflowError in ApplicationHttpRequest.setAttribute Tomcat 4.0.nightly build (20010503)
Date Thu, 03 May 2001 14:57:54 GMT
Hi,
We think we have discovered an error in Tomcat 4.0.nightly build 
(20010503). We call the forward method of the RequestDispatcher from a 
servlet. Then, we call the setAttribute method of the request object of the 
included JSP. At this point a java.lang.StackOverflowError  occurs.
Example:
MyServlet.java:
...
public void service(ServletRequest request, ServletResponse response){
...
getServletConfig().getServletContext().getRequestDispatcher("MyJSP.jsp").forward(request,

response);
..
}
MyJSP.jsp:
...
request.setAttribute("MyAttribute", obj);  <-- At this point!!!!!!!!!!!!!!!!
...

Thank you. 


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message