Hi,
I am using WebLogic 6.1. I want to forward to a servlet from another servlet and also I do not want to have corresponding servlet-mapping entry in the web.xml. So, how can I do that ? I tried in the following way but failed (relative path of calling servlet):
Code:
....
requestDispatcher = getServletContext().getRequestDispatcher("./xyz/AbcdServlet");
requestDispatcher.forward(request, response);
....
I also tried in the following way but failed (i.e. relative path to the root path):
Code:
....
requestDispatcher = getServletContext().getRequestDispatcher("/xyz.abc.AbcdServlet");
requestDispatcher.forward(request, response);
....
Thanks,
Abhijit