<ao:sendError>

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.aoindustries.taglib.SendErrorTag
TagExtraInfo Class: None
Body Content: scriptless
Display Name: None

Attributes

Name Required Evaluation Type Description
status Yes Static 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.

Variables

No Variables Defined.