Friday 22 August 2014

Sending Error

The sendError method will set the appropriate headers and content body for an error message to return to the client.

HttpServletResponse interface provides below methods to send error code to client.
   sendError(int sc)
   sendError(int sc, String msg)




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment