----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
What the hell is all the fuss about? Just "return;" after the
sendRedirect()! If you're nested that deep in method invocations, and you
don't know what's going to happen after the redirect, then I think it's
time to step back and reorganize your code.
On Tue, 20 Jun 2000, [iso-8859-1] François Chenais wrote:
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> [EMAIL PROTECTED] wrote:
> >
> > ----------------------------------------------------------------
> > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > WHEN YOU POST, include all relevant version numbers, log files,
> > and configuration files. Don't make us guess your problem!!!
> > ----------------------------------------------------------------
> >
> > But that will exit the entire Jserv VM! Is that really what you want to do?
> >
>
> euh no !:-)
>
> ok, i will throw a new 'MYExitExeption' that I will catch for doing
> nothing.
>
>
> is this seems right ?
>
>
> François
>
>
>
> > * Troy
> >
> > Troy Harrison
> > Systems Consultant
> > CNA Life Department-Information Technology
> > Software Application Services
> > [EMAIL PROTECTED]
> > (615) 871-1550
> > 1-800-PAGE-MCI, Pin Number 1407266
> >
> > -----Original Message-----
> > From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 20, 2000 10:07 AM
> > To: Java Apache Users
> > Subject: RE: sendRedirect
> >
> > ----------------------------------------------------------------
> > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > WHEN YOU POST, include all relevant version numbers, log files,
> > and configuration files. Don't make us guess your problem!!!
> > ----------------------------------------------------------------
> >
> > There is System.exit() or something like that.
> >
> > Otis Gospodnetic wrote:
> > >
> > > You could return from whichever method you are in. That should be enough,
> > as
> > > long as you return all the way out (not just from this method but also all
> > > the other ones that called that method, etc.)
> > >
> >
> > Hello
> >
> > That's ok but is there anything else more direct like "exit" ?
> >
> > > Otis
> > >
> > > -----
> > > What's happen after the call to req.sendRedirect ?
> > > Is the current servlet stop running ?
> > > If not, how can I stop running a servlet after a sendRedirect ?
> > > (exit ?)
> > >
> > > Thanks a lot
> >
> > --
> > --------------------------------------------------------------
> > Please read the FAQ! <http://java.apache.org/faq/>
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Archives and Other: <http://java.apache.org/main/mail.html>
> > Problems?: [EMAIL PROTECTED]
> >
> > --
> > --------------------------------------------------------------
> > Please read the FAQ! <http://java.apache.org/faq/>
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Archives and Other: <http://java.apache.org/main/mail.html>
> > Problems?: [EMAIL PROTECTED]
>
> --
> [EMAIL PROTECTED]
> BULL-CITB tel:(+33) 556 437 848 Home: [EMAIL PROTECTED]
> 207, cours du Médoc fax:(+33) 556 437 978 http://www.citb.bull.net
> 33000 Bordeaux BullCom: 227 7848 ICQ :3886291
> --------------------------------------------------------------------
> Linux -----
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]