I have a question, can anybody advise, thanks.
11. public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException {
12. PrintWriter out = response.getWriter();
13. out.print(�<h1>Hello</h1>�);
14.
15. response.sendError(HttpServletResponse.SC_NOT_FOUND);
16.}
Which, inserted at line 14, will ensure that an
IllegalStateException is NOT thrown at line 15?
A. response.flushBuffer();
B. response.resetBuffer();
C. response.clearStatus();
D. if(response.getError()==-1)
E. if(response.getStatus()==-1)
F. if(response.isCoxnnitted()==false)