多做题,通过考试没问题!

Java认证考试

题库首页>其他计算机考试>Java认证考试

You are creating an error page that provides a user-friendly screen whenever a server exception occurs.You want to hide the stack trace, but you do want to provide the exception’s error message to the user sothe user can provide it to the customer service agent at your company.  Which EL code snippet inserts thiserror message into the error page?()

  • A、Message: <b>${exception.message}</b>
  • B、Message: <b>${exception.errorMessage}</b>
  • C、Message: <b>${request.exception.message}</b>
  • D、Message: <b>${pageContext.exception.message}</b>
  • E、Message: <b>${request.exception.errorMessage}</b>
查看答案

微信扫一扫手机做题