ExamQuestions.com

Register
Login
Java EE 7 Application Developer Exam Questions

Oracle

Java EE 7 Application Developer

8 / 72

Question 8:

Which code snippet prints the exception error message as part of the page output? 

Answer options:

A. <%= exception.message %>
B. <c:out value="${requestScope["˜javax.servlet.error.exception`]}"/>
C. <% exception.getMessage(); %>
D. <% System.out.println(e.getMessage()) %>