标签: java servlets jsp-tags custom-tags
我想从jsp自定义标记发送错误代码作为响应,但它不起作用。 目前它看起来像这样:
try { response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); } catch (IOException e) { LOGGER.error("Couldn't send error response code.", e); } return SKIP_PAGE;