RequestDispatcher « URL « JSP-Servlet Q&A

1. RequestDispatcher to url in a different web app

How can i use RequestDispatcher to an outher web app in the same work space in the 1st web app i use it like that

 RequestDispatcher rd =request.getRequestDispatcher("vote.jsp");

2. RequestDispatcher display the servlet URL, not the jsp

Hi peter if you are forwarding using the request dispatcher, that means, the transfer of control from the servlet to the jsp is taking place on the server side. The client...i mean ....the browser will not come to know about this forward. And exactly for this reason, the ...the response committed by the jsp is rendered at the browser end but ...