How does getRequestDispatcher("xxx")
get called from getServletContext()
in the example below? How does calling procedures like this work in general? Please give me a clear picture about this context.
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/index.jsp");
dispatcher.include(request, response);
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…