WRONG!

This question was raised on the list some time back and Nic had answered it
in detail.
Here is the link to the archives which lead to that post of Nic.

http://archives.java.sun.com/cgi-bin/wa?A2=ind0007&L=servlet-interest&P=R392
56&m=32152

I hope that will resolve the doubt.

regds,
Gokul

----- Original Message -----
From: "Subhash_namu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 31, 2000 2:52 PM
Subject: Re: [SERVLET-INTEREST] Service method and RequestDispatcher


> No..The clean up code will not be run as the control is transferred to the
> jsp page. So the option is that have the clean up code in jsp and this
will
> be activated only when some flag set which shows the call is from servlet
is
> true.
> subhash
>
> ----- Original Message -----
> From: Lee Turner <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 31, 2000 2:29 PM
> Subject: Service method and RequestDispatcher
>
>
> > Hi,
> >
> > I have a method in a servlet that performs a search on a database and
then
> > forwards the request onto a JSP page to display the results.  This
method
> is
> > called from the service method of the servlet.  At the end of the
service
> > method, there is some 'clean up' code.  My question is - would this
'clean
> > up' code be run even though a method call above forwards the request to
a
> > JSP page ??
> >
> > Cheers
> > Lee
> >
> >
> > _________________________________
> >
> > Lee Turner
> > Systems Developer
> > _________________________________
> >
> > Watt Gilchrist Ltd
> > Ring Road, West Park
> > Leeds, LS16 6RA
> > Tel: 0113 288 3200
> > Fax: 0113 275 1690
> > http://www.wattgilchrist.co.uk
> > _________________________________
> >
> >
>
___________________________________________________________________________
> > 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
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
___________________________________________________________________________
> 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