System.exit( 0), by definition exits the web server. Why would you call
this? Why not just invoke a return statement?
Cheers!
Mark
----- Original Message -----
From: "Julien Gilli" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 2:03 PM
Subject: Systme.exit()
> Hi,
>
> When i insert, for example, "System.exit(0);" in a Servlet source code,
the whole Servlet engine is killed when it comes to this statement. I know
this is a normal behavior, because each Servlet is running inside the JVM
which is also running the Servlet engine, but how could i avoid that
behavior ?
> I am using tomcat 3.1.2 and Apache 1.3.12 under Linux.
> Thanks in advance for the help.
>
> --
> Julien Gilli
> [EMAIL PROTECTED]
> http://darktigrou.free.fr
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html