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

单项选择题

In your web application,you need to execute a block of code whenever the session object is first created.
Which design will accomplish this goal?()

    A.Create an HttpSessionListener class and implement the sessionInitialized method with that block ofcode.
    B.Create an HttpSessionActivationListener class and implement the sessionCreated method with thatblock of code.
    C.Create a Filter class, call the getSession(false) method, and if the result was null, then execute that block of code.
    D.Create an HttpSessionListener class and implement the sessionCreated method with that block of code.

点击查看答案

相关考题

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

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