When writing servlet, I could use
response.setStatus(500) and response.sendError(500), what's the difference between those two?
When writing servlet, I could use
response.setStatus(500) and response.sendError(500), what's the difference between those two?