Hi,
I am currently on a project running weblogic, and I'm having some issues communicating
between servlets.
I have a Controlling servlet which dispatches requests to jsp's in order to return
output to the browser. I am doing this by retrieving a requestDispatcher and
forwarding the request to the jsp.
Something like this:
summary = getServletContext().getRequestDispatcher( JSPName );
// Forward to the appropriate JSP
if (summary != null) {
summary.forward(req, resp);
}
My problem is that when the forward method is invoked after the jsp has completed,
control is returned to the Controlling Servlet and it continues processing below the
forward statement.
My understanding of "forward" is that control is handed off to the JSP (which is just
a servlet in disguise). Thus the Controlling servlet is then free to handle new
client requests.
Has anyone else had this problem??
Why is it happening??
Thanks,
Brad.
___________________________________________________________________________
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