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

单项选择题

For debugging purposes, you need to record how many times a given JSP is invoked before the user’ssession has been created. The JSP’s destroy method stores this information to a database.
Which JSPcode snippet keeps track of this count for the lifetime of the JSP page?()

    A.<%! int count = 0; %><% if ( request.getSession(false) == null ) count++; %>
    B.<%@ int count = 0; %>. <% if ( request.getSession(false) == null ) count++; %>
    C.<% int count = 0;. if ( request.getSession(false) == null ) count++; %>
    D.<%@ int count = 0;. if ( request.getSession(false) == null ) count++; %>
    E.<%! int count = 0;. if ( request.getSession(false) == null ) count++; %>

点击查看答案

相关考题

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

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