Thanks.  That's a good idea about putting a return in after the forward
call.   Saves a few CPU cycles/RAM chunks here and there which is always
good with Java

Mike

----------
>From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
>To: Mike Engelhart <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED]
>Subject: Re: Long process
>Date: Tue, Aug 17, 1999, 10:43 AM
>

> Mike Engelhart wrote:
>
>> IAlso on a related note, does forwarding a request to a JSP make the servlet
>>
>> return from it's service method or does it continue until it's finished?
>>
>
> If you are using <jsp:forward> in a JSP, you can think of this as a "go to"
> statement.
>
> If you are using RequestDispatcher.forward() in a servlet, the method call
> *does* return.  However, you are no longer able to modify the response in any
> way.  I just stick a "return" statement after my calls to the forward()
> method.
>
>>
>> Thanks,
>>
>> Mike
>>
>
> Craig McClanahan
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to