网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
某JSP页面包含以下脚本,〈%! int count=100;%〉〈% int count=0;%〉The page is referenced by〈%=++count%〉times则第一次访问该网页时,()显示的结果是对的?
- A、The page is referenced by 0 times
- B、The page is referenced by 1 times
- C、The page is referenced by 100 times
- D、The page is referenced by 101 times
参考答案
更多 “某JSP页面包含以下脚本,〈%! int count=100;%〉〈% int count=0;%〉The page is referenced by〈%=++count%〉times则第一次访问该网页时,()显示的结果是对的?A、The page is referenced by 0 timesB、The page is referenced by 1 timesC、The page is referenced by 100 timesD、The page is referenced by 101 times” 相关考题
考题
For manageability purposes, you have been told to add a "count" instance variable to a critical JSP Document so that a JMX MBean can track how frequent this JSP is being invoked. Which JSP code snippetmust you use to declare this instance variable in the JSP Document?()A、jsp:declarationint count = 0;jsp:declarationB、%! int count = 0; %C、jsp:declaration.instanceint count = 0;. jsp:declaration.instanceD、jsp:scriptlet.declarationint count = 0;. jsp:scriptlet.declaration
考题
JSP页面的page指令主要用于设置该页面的各种属性,page指令的language属性的作用是()。A、将需要的包或类引入到JSP页面中B、指定JSP页面使用的脚本语言,默认为JavaC、指定JSP页面采用的编码方式,默认为text/htmlD、服务器所在国家
考题
page指令的作用是()。A、用来定义整个JSP页面的一些属性和这些属性的值B、用来在JSP页面内某处嵌入一个文件C、使该JSP页面动态包含一个文件D、指示JSP页面加载Java plugin
考题
以下()是错误的JSP页面的表达方式。A、〈%! int a; %〉B、〈%= "Hello" %〉C、〈%= "world"; %〉D、〈% out.println("jsp"); %〉
考题
单选题For debugging purposes, you need to record how many times a given JSP is invoked before the user’ssession has been created. The JSP’s destroy method stores this information to a database. Which JSPcode snippet keeps track of this count for the lifetime of the JSP page?()A
%! int count = 0; %% if ( request.getSession(false) == null ) count++; %B
%@ int count = 0; %. % if ( request.getSession(false) == null ) count++; %C
% int count = 0;. if ( request.getSession(false) == null ) count++; %D
%@ int count = 0;. if ( request.getSession(false) == null ) count++; %E
%! int count = 0;. if ( request.getSession(false) == null ) count++; %
考题
单选题For manageability purposes, you have been told to add a "count" instance variable to a critical JSP Document so that a JMX MBean can track how frequent this JSP is being invoked. Which JSP code snippetmust you use to declare this instance variable in the JSP Document?()A
jsp:declarationint count = 0;jsp:declarationB
%! int count = 0; %C
jsp:declaration.instanceint count = 0;. jsp:declaration.instanceD
jsp:scriptlet.declarationint count = 0;. jsp:scriptlet.declaration
考题
单选题某JSP页面包含以下脚本,〈%! int count=100;%〉〈% int count=0;%〉The page is referenced by〈%=++count%〉times则第一次访问该网页时,()显示的结果是对的?A
The page is referenced by 0 timesB
The page is referenced by 1 timesC
The page is referenced by 100 timesD
The page is referenced by 101 times
考题
单选题JSP的动作指令中param指令用于()A
在JSP页面中动态包含一个文件B
重定向网页C
向需要包含的动态页面或要转向的动态页面传递参数D
在JSP中加载Javaapplet小程序
考题
单选题JSP页面的page指令主要用于设置该页面的各种属性,page指令的language属性的作用是()。A
将需要的包或类引入到JSP页面中B
指定JSP页面使用的脚本语言,默认为JavaC
指定JSP页面采用的编码方式,默认为text/htmlD
服务器所在国家
热门标签
最新试卷