jodd-madvoc/src/main/java/jodd/madvoc/result/AbstractTemplateViewActionResult.java
protected void targetNotFound(final ActionRequest actionRequest, final String actionAndResultPath) throws IOException {
		final HttpServletResponse response = actionRequest.getHttpServletResponse();

		if (!response.isCommitted()) {
			response.sendError(SC_NOT_FOUND, "Result not found: " + actionAndResultPath);
		}
	}
protected void targetNotFound(final ActionRequest actionRequest, final String actionAndResultPath) throws IOException {
		final HttpServletResponse response = actionRequest.getHttpServletResponse();

		if (!response.isCommitted()) {
			response.sendError(SC_NOT_FOUND, "Result not found: " + actionAndResultPath);
		}
	}
protected void targetNotFound ( final ActionRequest actionRequest , final String actionAndResultPath ) throws IOException { final HttpServletResponse response = actionRequest . getHttpServletResponse ( ) ; if ( ! response . isCommitted ( ) ) { response . sendError ( SC_NOT_FOUND , "Result not found: " + actionAndResultPath ) ; } }
Called when target not found. By default sends 404 to the response.
Called when target not found . By default sends 404 to the response .