If the code is run under a security manager, and the code doesn't have the
right permission, then when you call System.exit(0), rather than shut down
the process you will get a SecurityException,

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: Daniel K [mailto:[EMAIL PROTECTED]]
> Sent: 29 March 2001 10:09
> To: [EMAIL PROTECTED]
> Subject: Re: Bugs or what ???
>
>
>
> > If you don't want this behaviour you need to run Tomcat under a security
> > manager and disallow web-apps the authority to do this,
> >
> Thanks.. but I don't quite understand,..how do I prevent people to put
> System.exit(0) on jsp file. Is it related with permission / owner
> / who run
> the process ?
>
>
>
> > Kevin Jones
> > DevelopMentor
> > www.develop.com
> > > Hi,
> > >
> > > I put "<% System.exit(0); %> in my jsp file and my tomcat stop working
>  I
> > > have to start it again ). Is this bugs or ??
> > >
> > > spec :
> > > - Tomcat 3.2.1
> > > -RH 7
> > > -jdk 1.3 (Sun)
> >
> >

Reply via email to