程序中创建了一个Servlet,该Servlet重写了其父类的doGet()和doPost()方法,那么其父类可能是 ()
A. RequestDispatcher
B. HttpServletResponse
C. HttpServletRequest
D. HttpServlet
查看答案
下面选项中,与web应用具有相同的生命周期的对象是()
A. Servlet
B. ServletConfig
C. GenericServlet
D. ServletContext
下面选项中,用于设置ServletContext的域属性的方法是
A. setAttribute(Stringname,Stringobj)
B. setParameter(Stringname,Objectobj)
C. setAttribute(Stringname,Objectobj)
D. setParameter(Stringname,Objectobj)
Complete the following paragraph with key information from the text.(填写对应序号)Robbie Wilde has been enjoying his life as a(n)1 . He was born with perfect2, but is now completely3in his right ear and can hardly hear in his left. He grew up in a(n)4home environment and started deejaying at age5 . With a strong desire to perfect his skills, he asked a well-known DJ for6. He has been working hard and does not want his skills recognized simply because people have7for his disability. In this way, he sets a good example for other young people in chasing their8.
Robbie Wilde was born with perfect hearing in both ears, but severe ear infections that started when he was five left him deaf in his right ear and 50% deaf in his left.
A. 对
B. 错