On Wed, 9 May 2001, Hawkins, Keith (Keith) wrote:

> If a servlet encounters a problem on startup (e.g. can't find a config
> file) how should the servlet gracefully exit?
>
> Is it safe to call its own destroy() method?   Will that confuse/damage
> the servlet container?

I think you might want to throw an UnavailableException.  (I'm sure
you can look up the details.)

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

Reply via email to