题目内容

能在浏览器的地址栏中看到表单提交数据的提交方式是?( )

A. submit;
B. get;
C. post;
D. out;

查看答案
更多问题

使用response对象进行网页重定向时,要使用的是( )方法?

A. getRequestDispatcher();
B. forward();
C. sendRedirect();
D. 以上都不对;

如果要把一个用户名tome保存在application对象里,则下列语句正确的是( )

A. application.setAttribute(name, tome);
B. application.setAttribute("name","tome");
C. application.setAttribute("tome",name);
D. application.setAttribute("tome","name");

jsp的隐式注释正确的表达方式为( )

A. //注释内容;
B. ;
C. <%--注释内容--%>;
D. /*注释内容*/;

如果要为网站编写统计当前访问量一个计数器程序,最好采用JSP中的( )对象

A. page;
B. session;
C. request;
D. application;

答案查题题库