当前位置: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.

LCD的优点是()。 亮度高。 对比度高。 无辐射。 可视面积大。 ()炼焦时能得到块大.裂纹少.耐磨性好的焦炭。 气煤。 肥煤。 焦煤。 党员受到()后,其党内职务自然撤销。 严重警告;。 撤销党内职务;。 留党察看;。 开除党籍。。 易氧化和遇光变质,须装在有色密闭瓶中保存的药物是:() 糖衣片。 巴比妥。 地西泮。 氨茶碱。 胃复安。 Which three are valid URL mappings to a servlet in a web deployment descriptor? ()  */*。  /*.do。  myServlet。  /Myservlet。  /MyServlet/*。  MyServlet/*.i。

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?()

参考答案:

  参考解析

本题暂无解析

在线 客服