题目内容

在HTTP的8种请求方式中,最常用的是【 1 】和【 2 】。

查看答案
更多问题

protected void doGet(_____1_____ req, HttpServletResponse resp)throws ServletException, IOException {ServletContext context = getServletContext();Integer times = (Integer)____2____ .getAttribute("times");if (times ==__3___ ) {times = new Integer(1);} else {times = new Integer(times.intValue() + 1);}resp.setContentType("text/html;_____4___=utf-8");//得到输出流对象PrintWriter out=___5____.getWriter();out.println("");out.println("页面访问统计");out.println("");out.println("当前页面被访问了");out.println(""+___6____+"次");//设置属性,将times保存到当前的上下文中context.setAttribute("times",times);}

在实际开发中,开发者只需将后台数据展示在相应页面即可,无需关心前台界面中的JS代码。

A. 对
B. 错

font-family属性设置字体时, 中文字体需要加英文状态下的引号,英文字体一般不需要加引号。

A. 对
B. 错

在文档对象节点树中,具有相同父节点的节点叫做“父节点”。( )

A. 对
B. 错

答案查题题库