网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下列关于JSP的scriptlet的陈述正确的是()。

  • A、Scriptlet是包含在<%和>%<%和%>之间的
  • B、Scriptlet可以包含import语句
  • C、Scriptlet不但包含Java代码,还可以包含html代码
  • D、整个JSP可以有多个<%t和%><%T和%<%和%>>对

参考答案

更多 “下列关于JSP的scriptlet的陈述正确的是()。A、Scriptlet是包含在%和%%和%之间的B、Scriptlet可以包含import语句C、Scriptlet不但包含Java代码,还可以包含html代码D、整个JSP可以有多个%t和%%T和%%和%对” 相关考题
考题 在客户端浏览器的源代码中可以看到( )A.JSP注释B.HTML注释C.JSP注释和HTML注释D.JA V A注释

考题 Formanageabilitypurposes,youhavebeentoldtoaddacountinstancevariabletoacriticalJSP DocumentsothataJMXMBeancantrackhowfrequentthisJSPisbeinginvoked.WhichJSPcodesnippetmustyouusetodeclarethisinstancevariableintheJSPDocument?()A.jsp:declarationintcount=0;jsp:declarationB.%!intcount=0;%C.jsp:declaration.instanceintcount=0;.jsp:declaration.instanceD.jsp:scriptlet.declarationintcount=0;.jsp:scriptlet.declaration

考题 用Word编辑的文档可以按多种不同的格式存储,下列叙述中错误的是( )A..txt只包含文字符号的代码和小量格式控制信息B..doc只包含文字符号的代码C..rtf除包含文字符号的代码外,还包含文字属性标志和格式控制信息D..html适用于在Web上发布

考题 以下关于SQLServer2000中的视图和存储过程说法正确的是()。A.存储过程中不能包含大量的T-SQL代码 B.存储过程可以比相同的T-SQL代码执行速度快 C.视图可以包含来自多个表中的列 D.视图中不包含任何存放在基表中的数据

考题 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中,区分HTML和Java代码的标记是()A、//B、**C、??D、%%

考题 下列对于JSTL的说法正确的是()。A、JSTL是指(JavaServer Pages Standard Tag Library,JSP)标准标记库B、JSTL特别为条件处理、迭代、国际化、数据库访问和可扩展标记语言(XML)处理提供支持C、JSTL在应用程序服务器之间提供了一致的接口,最大程序地提高了WEB应用在各应用服务器之间的移植。D、JSTL简化了JSP和WEB应用程序的开发。E、JSTL以一种统一的方式减少了JSP中的scriptlet代码数量

考题 下面关于Jsp的说法错误的是()。A、Jsp可以处理动态内容和静态内容B、在Jsp最终会编译成字节码后执行C、在jsp中可以使用脚本控制Html的标签生成D、Jsp中不能使用//注释Java脚本中的代码

考题 A JSP page needs to perform some operations before servicing the first request. Where can this be done?()A、 within a method called jspInitB、 within the page directive of the JSP pageC、 within a scriptlet at the top of the JSP pageD、 within the  XML element

考题 Assume the tag handler for a st:simple tag extends Simple Tag Support. In what way can scriptlet code beused in the body of st:simple?()A、Set the body content type to JSP in the TLDB、Scriptlet code is NOT legal in the body of st:simple.C、Add scripting-enabled="true" to the start tag for the st:simple elementD、Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and place the scriptlet code in the body of that tag

考题 You are writing a JSP that includes scriptlet code to declare a List variable and initializes that variable to anArrayList object. Which two JSP code snippets can you use to import these list types?()A、%! import java.util.*; %B、%! import java.util.List;import java.util.ArrayList; %C、%@ page import=’java.util.List’import=’java.util.ArrayList’ %D、%@ import types=’java.util.List’types=’java.util.ArrayList’ %E、%@ page import=’java.util.List,java.util.ArrayList’ %F、%@ import types=’java.util.List,java.util.ArrayList’ %

考题 You have created a JSP that includes instance variables and a great deal of scriptlet code. Unfortunately,after extensive load testing, you have discovered several race conditions in your JSP scriptlet code. To fixthese problems would require significant recoding, but you are already behind schedule. Which JSP codesnippet can you use to resolve these concurrency problems?()A、%@ page isThreadSafe=’false’ %B、%@ implements SingleThreadModel %C、%! implements SingleThreadModel %D、%@ page useSingleThreadModel=’true’ %E、%@ page implements=’SingleThreadModel’ %

考题 以下关于视图和存储过程说法正确的是()A、存储过程可以比相同的T-SQL代码执行速度快B、视图可以包含来自多个表中的列C、视图中不包含任何存放在基表中的数据D、存储过程中不能包含大量的T-SQL代码

考题 JavaBean的属性可以使用()来访问。A、属性B、get()和set()方法C、事件D、Scriptlet

考题 JSP页面中一定要包含jsp代码。

考题 在客户端浏览器的源代码中可以看到()。A、JSP注释B、HTML注释C、JSP注释和HTML注释D、JAVA注释

考题 以下关于SQLServer2008中的视图和存储过程说法正确的是()。A、存储过程可以比相同的T-SQL代码执行速度快B、视图可以包含来自多个表中的列C、视图中不包含任何存放在基表中的数据D、存储过程中不能包含大量的T-SQL代码

考题 Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()A、 Set the body content type to JSP in the TLDB、 Scriptlet code is NOT legal in the body of st:simpleC、 Add scripting-enabled= “true” to the start tag for the st:simple elementD、 Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and      place the scriptlet code in the body of that tag.

考题 多选题下列关于JSP的scriptlet的陈述正确的是()。AScriptlet是包含在%和%%和%之间的BScriptlet可以包含import语句CScriptlet不但包含Java代码,还可以包含html代码D整个JSP可以有多个%t和%%T和%%和%对

考题 单选题Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()A  Set the body content type to JSP in the TLDB  Scriptlet code is NOT legal in the body of st:simpleC  Add scripting-enabled= “true” to the start tag for the st:simple elementD  Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and      place the scriptlet code in the body of that tag.

考题 单选题A JSP page needs to perform some operations before servicing the first request. Where can this be done?()A  within a method called jspInitB  within the page directive of the JSP pageC  within a scriptlet at the top of the JSP pageD  within the  XML element

考题 多选题下列对于JSTL的说法正确的是()。AJSTL是指(JavaServer Pages Standard Tag Library,JSP)标准标记库BJSTL特别为条件处理、迭代、国际化、数据库访问和可扩展标记语言(XML)处理提供支持CJSTL在应用程序服务器之间提供了一致的接口,最大程序地提高了WEB应用在各应用服务器之间的移植。DJSTL简化了JSP和WEB应用程序的开发。EJSTL以一种统一的方式减少了JSP中的scriptlet代码数量

考题 多选题You are writing a JSP that includes scriptlet code to declare a List variable and initializes that variable to anArrayList object. Which two JSP code snippets can you use to import these list types?()A%! import java.util.*; %B%! import java.util.List;import java.util.ArrayList; %C%@ page import=’java.util.List’import=’java.util.ArrayList’ %D%@ import types=’java.util.List’types=’java.util.ArrayList’ %E%@ page import=’java.util.List,java.util.ArrayList’ %F%@ import types=’java.util.List,java.util.ArrayList’ %

考题 单选题You have created a JSP that includes instance variables and a great deal of scriptlet code. Unfortunately,after extensive load testing, you have discovered several race conditions in your JSP scriptlet code. To fixthese problems would require significant recoding, but you are already behind schedule. Which JSP codesnippet can you use to resolve these concurrency problems?()A %@ page isThreadSafe=’false’ %B %@ implements SingleThreadModel %C %! implements SingleThreadModel %D %@ page useSingleThreadModel=’true’ %E %@ page implements=’SingleThreadModel’ %

考题 单选题Assume the tag handler for a st:simple tag extends Simple Tag Support. In what way can scriptlet code beused in the body of st:simple?()A Set the body content type to JSP in the TLDB Scriptlet code is NOT legal in the body of st:simple.C Add scripting-enabled=true to the start tag for the st:simple elementD Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and place the scriptlet code in the body of that tag

考题 单选题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中,区分HTML和Java代码的标记是()A //B **C ??D %%