return after each forward/redirect

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Alfredo Solano Martinez
> Sent: Thursday, March 08, 2001 4:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Response.sendRedirect() vs RequestDispatcher.forward
>
>
> Hiya again.
>
> Alex, I've followed your suggestion but I still have a little
> problem. Does
> the service() stops once it forwards the request ?
>
> look, i have something like:
>
>     If (myVariable == null )
>         // forwarding to servlet-1....
>     else if (anotherVariable ==  null )
>         // forewarding to servlet-2
>
> My problem is that I want this servlet to stop the processing after the
> first forward. What is happening to me is that when myVariable is
> null, the
> forward to servlet-1 is done, but then it checks if
> anotherVariable is also
> null.
>
> What am I doing wrong?
>
> __________________________________________________________________
> _________
> 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
>

___________________________________________________________________________
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

Reply via email to