Hi,
I have two applications running on the tomcat application server.
w1 - with context path "/w1app"
and w2 with context path "/w2app"
I wish to provide links in w1 displaying pages of w2.
I have used this code in my HttpServlet class of w1
if /// some condition
Servlet Context othercontext = getServletContext().getContext("/w2app");
(1)
RequestDispatcher rd = othercontext.getRequestDispatcher(url); (2)
rd.forward (request,response) (3)
However - the it gives a NullPointerException at 1.
I have been trying hard but without success..
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]