When does the ServletContext return a null RequestDispatcher?
问题 The api for ServletContext#getRequestDispatcher() says: This method returns null if the ServletContext cannot return a RequestDispatcher. and Returns: a RequestDispatcher object that acts as a wrapper for the resource at the specified path, or null if the ServletContext cannot return a RequestDispatcher For what reason would the ServletContext not be able to return a RequestDispatcher? At first I figured it would be if an invalid path was passed but that doesn't return null, it results in a