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

题目内容 (请给出正确答案)
多选题
下列关于JSP的scriptlet的陈述正确的是()。
A

Scriptlet是包含在<%和>%<%和%>之间的

B

Scriptlet可以包含import语句

C

Scriptlet不但包含Java代码,还可以包含html代码

D

整个JSP可以有多个<%t和%><%T和%<%和%>>对


参考答案

参考解析
解析: 暂无解析
更多 “多选题下列关于JSP的scriptlet的陈述正确的是()。AScriptlet是包含在%和%%和%之间的BScriptlet可以包含import语句CScriptlet不但包含Java代码,还可以包含html代码D整个JSP可以有多个%t和%%T和%%和%对” 相关考题
考题 关于JSP标记文件下列说法不正确的是() A.TagFile是JSP2.0新增的功能B.TagFile是JSP1.2新增的功能C.TagFile可以让网页开源直接使用Jsp语法制作标签D.TagFile的扩展名可以是.tag

考题 关于JSP下列说法不正确的是() A.JSP的全称是JavaServerPagesB.JSP是由sun公司主导,许多别的公司参与一起来建设的一种动态网页技术C.在HTML文件里加入Java程序片段和JSP标签可以构成JSP网页D.JSP的运行环境是,正确安装JDK即可

考题 关于JSP下列说法不正确的有() A.JSP的全称为JavaServerPagesB.JSP是由sun公司倡导,许多别的公司参与一起建立起来的一种动态网页技术C.在HTML文件里加入Java程序片段和JSP标签可以构成JSP网页D.JSP的运行环境是,正确安装JDK即可

考题 下列关于JSP说法中不正确的是()。 A、JSP是IBM公司推出的新一代站点开发语言B、JSP解决了目前ASP、PHP的一个通病——脚本级执行C、JSP将内容的生成和显示进行分离D、JSP强调可重用的组件

考题 Page指令用于定义JSP文件中的全局属性,下列关于该指令用法的描述不正确的是:()A、 Page指令用于定义JSP文件中的全局属性,下列关于该指令用法的描述不正确的是:()A、作用于整个JSP页面。B、可以在一个页面中使用多个指令。C、为增强程序的可读性,建议将指令放在JSP文件的开头,但不是必须的。D、指令中的属性只能出现一次。

考题 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

考题 下列关于中东的陈述,正确的是:( )

考题 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网页描述正确的是()A、在传统的HTML文件中加入Java程序片段和JSP标记,就构成了JSP网页B、在传统的HTML文件中加入JavaScript程序片段,就构成了JSP网页C、在传统的HTML文件中加入VB程序片段和JSP标记,就构成了JSP网页D、JSP网页是由纯Java程序编写的

考题 下列对于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是JavaScript的简称B、JSP可以直接编译成class文件C、JSP是被解释成HttpServlet后再编译的D、JSP是被解释成HttpJspPage后再编译的

考题 关于JSP下列说法不正确的是() A、 JSP的全称是JavaServer PagesB、 JSP是由sun公司主导,许多别的公司参与一起来建设的一种动态网页技术C、 在HTML文件里加入Java程序片段和JSP标签可以构成JSP网页D、 JSP的运行环境是,正确安装JDK即可

考题 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

考题 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’ %

考题 关于JSP的说法正确的有()A、JSP在服务器端被执行B、JSP的最终存在形式是java applicationC、JSP 在客户端被执行D、JSP 的最终存在形式是servlet

考题 下列关于Web服务器默认文档的描述中正确的是()A、只能是asp、jsp或php文件B、只能是HTML文件C、只能是HTML、asp、jsp或php文件D、可以是任何操作系统支持的文件

考题 关于JSP的描述,哪个正确()。A、JSP是直译式的网页,与Servlet无关B、JSP会先转译为.java,然后编译为.class载入容器C、JSP会直接由容器动态生成Servlet实例,无需转译D、JSP是丢到浏览器端,由浏览器进行直译

考题 下列对于JSP说法中正确的是()A、JSP是Sun公司推出的新一代站点开发语言B、JSP完全解决了目前ASP、PHP的一个通病——脚本级执行C、JSP将内容的生成和显示进行分离D、JSP强调可重用的组件E、JSP采用标识简化页面开发

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

考题 阅读下面代码片段: RequestDispatcher dispatcher=request.getRequestDispatcher("a.jsp"); dispatcher.forward(request,response); 关于该段代码的作用,下列叙述哪项是正确的?()A、页面重定向到a.jsp页面B、将请求转发到a.jsp页面C、从a.jsp定向到当前页面D、从a.jsp转发到当前页面

考题 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.

考题 填空题下列关于病毒陈述正确的是().

考题 单选题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

考题 单选题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

考题 单选题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: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.