题目内容

偏离了现工况运行,即视为变工况现象。

A. 对
B. 错

查看答案
更多问题

1.哪个不是Servlet接口的方法?()

A. doGet方法
B. doPost方法
C. init方法
D. forward方法

1.下列方式中可以执行TestServlet (路径为/test)的doPost()方法是____

A. 在IE中直接访问http://localhost:8080/网站名/test
B.

提交表单
C. 提交表单
D. 在JavaScript中执行

1.用户使用POST方式提交的数据中存在汉字(使用GBK字符集),在Servlet中需要使用下面___个语句处理。

A. request.setCharcterEncoding(“GBK”);
B. request.setContentType(“text/html;charset=GBK”);
C. reponse.setCharcterEncoding(“GBK”);
D. response.setContentType(“text/html;charset=GBK”);

1.在HttpSession中写入和读取数据的方法是_____

A. setParameter()和getParameter()
B. setAttributer()和getAttribute()
C. addAttributer()和getAttribute()
D. set()个get()

答案查题题库