"Setiyadi, Andi" wrote:
>
> What is the command to end the process in the codes (not inside a loop)
> without stopping the server? - not System.exit
>
If you mean "how do I shut down a servlet running in
a servlet container", then you need to look into
throwing an UnavailableException:
SRV.2.3.3.2 Exceptions During Request Handling
An UnavailableException signals that the servlet
is unable to handle requests either temporarily
or permanently. If a permanent unavailability is
indicated by the UnavailableException, the
servlet container must remove the servlet from
service, call its destroy method, and release
the servlet instance.
--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com
___________________________________________________________________________
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