Hello Tim, thank you for your reply.
Yes, I am using https, but didn't mention in the post.
I am having same issue with https also.
he URL which received is
https:// www.abc.com/user/domain
I want to forward it to
https://www.abc.com/user/welcome
request.getRequestDispatcher("https://www.abc.com/user/welcome").forward(request, response);
It is throwing error ' No mapping found for HTTP request with URI [ /user/domain/https://www.abc.com/user/welcome] in DispatcherServlet with name 'appServlet'