It is better to put a return; statement after forward(), to be sure to move control out of current execution.
regds,
BJ
Hi,
if in a servlet, I have some code like:
getServletConfig().getRequestDispatcher("/my/page.jsp").forward(request,
response)
Is it supposed to return control to the servlet afterwards?
>From what I find on the net, it isn't, but when I try to print something
to System.out after the forward call, that works...
So did I misread on the www, or is this some bug in my webserver?
I'm using JBoss/Tomcat btw...
Thanks,
Hans
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".