欢迎来到计算机考试题库网 计算机题库官网
logo
全部科目 > Java认证考试 > SCWCD(310-083)

单项选择题

Assume the custom tag my:errorProne always throws a java.lang.RuntimeException with the message "Filenot found." An error page has been configured for this JSP page.
Which option prevents the exceptionthrown by my:errorProne from invoking the error page mechanism, and outputs the message "File notfound" in the response?()

    A.<c:try catch="ex"><my:errorProne /></c:try>${ex.message}
    B.<c:catch var="ex"><my:errorProne /></c:catch>${ex.message}
    C.<c:try>. <my:errorProne />. </c:try>. <c:catch var="ex" />. ${ex.message}
    D.<c:try>. <my:errorProne />. <c:catch var="ex" />. ${ex.message}. </c:try>

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题