dcsimg

Can I use System.exit() in servlets?

Alex Chaffee

Gack! No no no no no...

At best, you'll get a security exception. At worst, you'll make the servlet engine, or maybe the entire web server, quit. You don't really want to do that, huh? :-)