云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 笔试完成

笔试完成

  • 62 次阅读
  • 3 次下载
  • 2025/5/1 20:59:26

System.out.printIn(“service”); a)get b)post c)service d)service get

46)在Java Web应用程序中,要完成将用户会话中的“counter”计数器的值增加1,下列()是正确的Servlet代码片段. (选择一项)

a) HttpSession session=request.getSession(true);

int ival=session.getAttribute(“counter”);

if(ival===null){ ival=1; }else{

Ival=ival+1; }

Session.setAttribute(“counter”,ival);

b)HttpSession session=request.getSession(true);

Integer ival =(integer)session.getAttribute(“counter”); Session.setAttribute(“counter”,ival+1);

c)HttpSession session=request.getSession(true);

integer ival=(integer)session.getAttribute(“counter”);

if(ival==null){

ival=new Integer(1);

}else{

Ival=new Integer(ival.intValue()+1); }

Session.setAttribute(?counter?,ival);

d)HttpSession session=request.getSession(); int ival=session.getAttribute(“counter”); if(ival==null){ ival=1; }else{

Ival=ival+1; }

Session.setAttribute(“counter”,new integer(ival));

47) 某电子邮箱的左侧菜单如图菜单如图所示,左侧为展开状态,右侧为折叠状态,单击“文件夹”或“邮箱服务”前面的三角箭头在,可以折叠或展开其相应的内容,在菜单变化的过程中整个页面无刷新,使用ASP.NET AJAX的()的控件可以实现此功能。(选择一项)

文件夹 文件夹 收件箱 邮箱服务 草稿箱 记事本

已发送 集邮中心 已删除 随身邮

垃圾邮件 新邮箱伴侣 升级到VIP 邮件服务 记事本 集邮中心 随身邮 新邮箱伴侣 升级到VIP a) Tabs

b) Accordion

c) CollapsiblePanel d) ModalPopup

48)在ASP。NET中,下面关于DataList控件和Repeater控件描述中错误的是()。(选 择一项)

a)这两种数据控件都允许使用模板显示数据 b)这两种控件都是继承WebControl类

c)使用DataList时,可以设定一些属性来进行个性化输出

d)调用这两种控件的DataBind()方法时完成数据与控件的绑定操作 49)第三方软件的CodeSmith是一款非常著名的商业代码生成器。在以下CodeSmith 指令中,正确定义了目标参数的是() (选择二项) a)<%@Property Name=”SourceTable”Type=”SchemaExplorer.TableSchema” Category=”Context”Description=”Souce Table.”%>

b) <%@Property Name=”TargetTable”Type=”SchemaExplorer.TableSchema” Category=”Context”Description=”Target Table.”%>

c)<%@Parameter Name=”SourceTable”Type=”SchemaExplorer.TableSchema” Category=”Context”Description=”Source Table”%>

e) <%@Parameter Name=”SourceTable”Type=”String”Category=”Context”

Description=”Source Table”%>

50)在ASP.NET中,将GridView控件中的记录自动分页为每页5行,应该实施的步骤是() (选择一项) a)设置PageSize属性为4, 并在PageindexChanged事件中设置 CurrentPageindex属性 b)设置 PageSize属性为5, 并在PageindexChange事件中设置CurrentPageindex属性及 执行GridView控件的数据绑定

c)设置AllowPaging 属性为True,设置PageSize属性为5 d)设置AllowPaging 属性为True,设置Pagesetting属性为5

搜索更多关于: 笔试完成 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

System.out.printIn(“service”); a)get b)post c)service d)service get 46)在Java Web应用程序中,要完成将用户会话中的“counter”计数器的值增加1,下列()是正确的Servlet代码片段. (选择一项) a) HttpSession session=request.getSession(true); int ival=session.getAttribute(“counter”); if(ival===null){ ival=1; }else{ Ival=ival+1; } Session.setAttribute(“co

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com