I have 2 web apps.
A.warB.war
both have been deployed in same app server. A request comes to A.war and it forwards the request to B.war via
context.getServletContext("appname of B").getRequestDispatcher("uri").forward(request, response);
once the request is forwarded from A to B and then once the processing is completed on B, does the control come back to web app A or web app B directly sends the request to the client (browser)?
In other words , is it a separate Thread that would be executed in web app B in this case and it sends the response directly to the user?
Aucun commentaire:
Enregistrer un commentaire