我正在编辑不是我自己的代码,并且需要遵循 RequestDispatcher 的路径。
RequestDispatcher dispatcher = this.getServlet().getServletContext().getRequestDispatcher([url]);
if (dispatcher == null) {
throw new Exception("Unable to find " + [url]);
}
logger.debug("Dispatching request to PDF Writer Servlet " + dispatcher.toString());
dispatcher.forward(request, response);
我怎样才能知道这条路会把我带到哪里?