A. 一个按钮 B. 点击一个按钮 C. 电话 D. 打电话
A. 实现ServletContextAttributeListener接口的类 B. 实现ServletRequestAttributeListener接口的类 C. 实现HttpSessionBindingListener接口的类 D. 实现HttpSessionAttributeListener接口的类
A. 在包itcast中,有一个名为ProcessServlet的类 B. 访问路径是http://机器 IP:端口号/root/process C. 访问路径是http://机器 IP:端口号/root/ProcessServlet D. 访问路径是http://机器 IP:端口号/root/proc
A. <init-param> B. <servlet-mapping> C. <param-name> D. <param-value>
A. ServletException B. HttpServletException C. HttpException D. IOException
A. 多个用户同时访问一个servlet时,也会为这个servlet创建多个实例 B. 当servlet对象被销毁时,由servlet容器调用destroy()方法释放资源 C. servlet容器调用destroy()方法之后,它就再也不会调用这个servlet对象的service()方法了 D. 在servlet的一个生命周期中,service ()方法只会被调用一次
A. /my B. /my/* C. /*.do D. *.do
A. HttpSession B. ServletContext C. ServletRequest D. ServletResponse
A. http://localhost:8080/chapter04/TestServlet01 B. http://localhost:8080/chapter04/servlet/TestServlet01 C. http://localhost:8080/chapter04/Test01 D. http://localhost:8080/chapter04/servlet/Test01
A. sessionCreated() B. initializedSession () C. destroyedSession() D. sessionDestroyed()