vijaya
Posts: 5
Nickname: vijji
Registered: Dec, 2002
|
|
Re: servlet to servlet communication
|
Posted: Jul 20, 2004 6:21 AM
|
|
You can not communicate two servlets from different servers.You can communcate servlet from different contexts.
You can do like this, when servlets are with in server but different contexts or with in the same context.
RequestDispatcher requestdispatcher = ServletContext.getRequestDispatcher("AnotherServlet.servlet"); requestdispatcher.forward(request,response);or requestdispatcher .include(request,response);
Hope it may be useful to u.
Thanks & Regards Vijaya.
|
|