Hi,

I have one servlet running with following URL.

http://www.abc.com/abc/xyz/get?file=kvjdjfkj3w3sdlkfjsf3233

where abc is the application context root and /xyz/get is the servlet url pattern.

Now I want to do the Request Dispatch forward from this servlet to the different servlet which in not running on the same context root.
i.e. I want to do the forward to /proxy/aaa/secondServlet

My new forward URL should not contains the old context root and internal forward url should be look like

http://www.abc.com/proxy/aaa/secondServlet

Here domain is same.

Please help me with the how i can achieve this use RequestDispatcher forward.

Thanks in advance