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

Which code snippet prints the exception error message as part of the page output?
A. <%= exception.message %>
B. <c:out value="${requestScope[‘javax.servlet.error.exception’]}"/>
C. <% exception.getMessage(); %>
D. <% System.out.println(e.getMessage()) %>

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “Which code snippet prints the exception error message as part of the page output?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.