https://issues.apache.org/bugzilla/show_bug.cgi?id=56882
--- Comment #4 from Konstantin Kolinko <knst.koli...@gmail.com> --- (In reply to Konstantin Kolinko from comment #2) > > Actual: > > > > include.jsp gives: > > [[[ > > In place evaluation of another JSP which gives you the current time: > > 1408802860131 > > by including the output of another JSP: :-) > > ]]] > > The second sentence had to contain a timestamp value. It is missing. > > The second sentence is missing more than just the timestamp. > The first part of it is missing as well. > > (...) > > I wonder why it silently skips the failed pages. I expected it to produce an > exception after the first failed include and abort the response. > Apparently there is some design feature for included pages. I do not plan to discuss it here. Just writing down the findings. Ch.9.3 The Include Method (servlet-3_1-final.pdf), says "The target servlet of the include method has access to all aspects of the request object, but its use of the response object is more limited." <...> "It cannot set headers or call any method that affects the headers of the response, with the exception of the HttpServletRequest.getSession() and HttpServletRequest.getSession(boolean) methods." Technically, processing of unavailable servlets here in done in o.a.c.core.ApplicationDispatcher.invoke() as 1. Log a warning with wrapper.getLogger().warn(...) 2. hresponse.sendError(HttpServletResponse.SC_SERVICE_UNAVAILABLE, ...) The warning is not logged, because logger.getHandlers() returns an empty list for all loggers in hierarchy chain. I do not know why that happens, but it might be expected for a stopped web application. (The request was mapped to a stopped ContextVersion due to this mapper bug). The HttpServletResponse.sendError() call is ignored. (o.a.c.connector.Response#sendError(...)). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org