problem in opening new url from JSP
Hello friends,
i have one task to complete.. i have to open new url from my jsp.
for example url to open is https://www.paypal.com/cgi-bin/webscr .. for that i am having code like
RequestDispatcher view = request.getRequestDispatcher("https://www.paypal.com/cgi-bin/webscr");
vview.forward(request,response);
but problem of having context path that been added in url
so my url become like /myprojectNAME/https://www.paypal.com/cgi-bin/webscr
and it will give error like resource not found....
so how to remove context path i have also tried <jsp:forward> tag...
any idea how to do that ??
:confused:
Thanks in advanced