sendError

Returns an error response using the error code passed as a parameter.


            sendError (errorCode)
         

Parameters

errorCode

The HTTP error code.

Return value

None.

Features

Method of class: HttpServletResponse

Available in:

  • JSSP
  • WebApp