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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to