tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland <>
Subject Tomcat4.0 crashes when servlet forwarding to itself
Date Wed, 24 Apr 2002 21:20:39 GMT
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);
       dispatcher.forward(request, response);
     catch(Exception e){

Best regards,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message