This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I am attended the following qn in j2eecertificate demo exam. What is the answer for this qn.
Which of the following statements regarding the sendError response method are true? [Check all correct answers]
1. sendError accepts java.lang.Throwable as an argument. 2. sendError can throw java.lang.IllegalStateException. 3. sendError has the side effect of committing the response. 4. sendError is only used to set the return status code when there is no error. 5. sendError throws an java.lang.InvalidStateException if the response has already been committed.