Returns an error status. Stops processing of the containing JSP page. Results in error handler processing.

Important: Errors sent inside of standard <jsp:include> tags will be silently lost. Use <ao:include> instead of <jsp:include> to support sendError inside of includes.

Tag Information

Tag Class: com.aoapps.taglib.SendErrorTag
TagExtraInfo Class: None
Body Content: scriptless
Display Name: None


Name Required Evaluation Type Description
status Yes Runtime int

The status code for response.sendError.

message No Runtime String

The optional message to be sent. If not set as an attribute, the message will be taken from the body, trimmed.


No Variables Defined.