Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-900 Topic 5 Question 105 Discussion

Actual exam question for Oracle's 1Z0-900 exam
Question #: 105
Topic #: 5
[All 1Z0-900 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Daren
2 days ago
But A) <%= exception.message %> directly prints the exception message as part of the page output
upvoted 0 times
...
Elvera
3 days ago
C is just printing the message, not actually displaying it on the page. I'd go with A or B.
upvoted 0 times
...
Chaya
3 days ago
I disagree, I believe the correct answer is D) <% System.out.println(e.getMessage()) %>
upvoted 0 times
...
Daren
4 days ago
I think the answer is A) <%= exception.message %>
upvoted 0 times
...
Tamar
7 days ago
I'm pretty sure it's B, since that's the standard way to display exception messages in JSP.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77