Which two are true? ()
- A、 The foo initialization parameter CANNOT be set programmatically.
- B、 Compilation fails because getlnitParameter returns type Object.
- C、 The foo initialization parameter is NOT a servlet initialization parameter.
- D、 Compilation fails because ServletContext does NOT have a getlnitParameter method.
- E、 The foo parameter must de defined within the
element of the deployment descriptor. - F、 The foo initialization parameter can also be retrievedusing getSErvletConfig(). GetlnitParameter (“foo”).
正确答案:A,C
答案解析:有

微信扫一扫手机做题