In a filter (javax.servlet.Filter) I try to forward a request to
servlet on a different domain name.
getContext take only a relative path.
This is my code :
RequestDispatcher dispatcher =
filterConfig.getServletContext().getContext("http://www.mydomain.com").getRequestDispatcher("/upload/uploadservlet");
dispatcher.forward(request, response);
filterChain.doFilter(request, response);
How can I do ?
Thank you for your help.
dnasmars@gmail.com - 11 May 2006 13:12 GMT
ask jdl :)
Frizby a écrit :
> In a filter (javax.servlet.Filter) I try to forward a request to
> servlet on a different domain name.
[quoted text clipped - 8 lines]
> How can I do ?
> Thank you for your help.
dnasmars@gmail.com - 16 May 2006 09:58 GMT
Have a look a this
http://mail-archive.objectweb.org/jonas/2005-01/msg00054.html