yeah, the return statement will be the best thing to do and the rest of the code beyond it will not be executed, but still the code if put in finally block shall be executed.
Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1059 -----Original Message----- From: Gardner Monte [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 11:09 AM To: [EMAIL PROTECTED] Subject: Re: response.sendRedirect(); If I want to prevent further execution after a redirect then, would simply using a return statement be the best thing to do? --Monte Glenn Gardner ___________________________________________________________________________ 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