tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland <rol...@netquant.com.br>
Subject Tomcat4.0 crashes when servlet forwarding to itself
Date Wed, 24 Apr 2002 21:20:39 GMT
Hello,
I just had a bug in one of my servlets. It was forwarding to itself. Not a 
big problem, but, it caused Tomcat to crash. This is the first time Tomcat 
crashed with me, so I'm really surprised.

Code snippet:

//adr is a String with the name of the servlet.

  RequestDispatcher dispatcher = context.getNamedDispatcher(adr);
     try{
       dispatcher.forward(request, response);
     }
     catch(Exception e){
       e.printStackTrace();
     }

Best regards,
Roland


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message