网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
为了指定page1.html、page2.html和page3.html,可以使用以下哪些正则表达式?()
- A、^/page(1
- B、^/page[1-3]/.html
- C、^/page[123]/.htmlD.
- D、^/page[1-3]+/.html
参考答案
更多 “为了指定page1.html、page2.html和page3.html,可以使用以下哪些正则表达式?()A、^/page(1B、^/page[1-3]/.htmlC、^/page[123]/.htmlD.D、^/page[1-3]+/.html” 相关考题
考题
打开http://www/web/sichi01.html页面,浏览网页,点击不同的链接进入子页面详细浏览。并将子页面一、子页面二和子页面三以HTML文件类型保存到考生文件夹下,文件名分别为Page1.html、Page2.html和Page3.html。
考题
You create a master page named PageBase.master. The master page contains a Label control named lblTitle.You create a content page that references the master page.You need to change the Text property of the master page‘s lblTitle control from the content page.Which code segment should you use?()A.B.C.D.
考题
Page指令用于定义JSP文件中的全局属性,下列关于该指令用法的描述不正确的是:()A、%@ page %%@ page %作用于整个JSP页面B、可以在一个页面中使用多个%@ page %%@ page %指令C、为增强程序的可读性,建议将%@ page %%@ page %指令放在JSP文件的开头,但不是必须的D、%@ page %%@ page %指令中的属性只能出现一次
考题
()用于声明当前页为error页?A、<%@ page errorPage="true" %>B、<%@ page info="error" %>C、<%@ page pageEndcoding="error" %>D、<%@ page isErrorPage="true" %>
考题
要设置某个JSP页面为错误处理页面,以下page指令正确的是()。A、〈%@ page errorPage="true"%〉B、〈%@ page isErrorPage="true"%〉C、〈%@ page extends="javax.servlet.jsp.JspErrorPage"%〉D、〈%@ page info="error"%〉
考题
When monitoring a system using /usr/bin/vmstat with an interval, the metrics under page pi and page po represent which of the following phrases?()A、 The pages to and from paging space per secondB、 The page intervals and page operations per secondC、 The page interrupts and page operations per secondD、 The page segments transferred between pi and po devices per second
考题
Every page of your web site must include a common set of navigation menus at the top of the page. Thismenu is static HTML and changes frequently,so you have decided to use JSP’s static import mechanism. Which JSP code snippet accomplishes this goal?()A、%@ import file=’/common/menu.html’ %B、%@ page import=’/common/menu.html’ %C、%@ import page=’/common/menu.html’ %D、%@ include file=’/common/menu.html’ %E、%@ page include=’/common/menu.html’ %
考题
You are implementing an ASP.NET Web page. The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use?()A、% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %B、% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %C、% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %D、% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %
考题
要创建一个指向当前目录下文件page.htm的链接,在属性检查器的链接栏中应该输入()。A、#page.htmB、mailtl:page.htmC、page.htmD、/page.htm
考题
与page指令%@ page import= “java.util.*, java.text.* “ % 等价的是()。A、%@ import="“java.util.*" page=""%@ import="“java.text.*" page=""%@ import="“java.text.*" page=""%@ import="“java.util.*" page=""%@ import="“java.text.*" page=""%@ import="“java.util.*" page=""%@ page import= “java.util.* % %@ page import= “java.text.* “ % B、%@ page import= “java.util.*” , import= “java.text.* “ % C、%@ page import= “java.util.* “ ; % %@ page import= “java.text.* “ ; %D、%@ page import= “java.util.* ; java.text.* “ %
考题
表单名为myForm的表单中有一个页框myPageFrame,将该页框的第3页(Page3)的标题设置为“修改”,可以使用代码()A、myForm.Page3.myPageFramE.Caption="修改"B、myForm.myPageFramE.Caption.Page3="修改"C、Thisform.myPageFramE.Page3.Caption="修改"D、Thisform.myPageFramE.Caption.Page3="修改"
考题
某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
考题
Where do you enable the CRS engine?()A、Publisher Activation page B、Component Activation page C、Cluster Setup page D、Server Setup page
考题
You create a master page named Article.master. Article.master serves as the template for articles on your Web site. The master page uses the following page directives. %@ Master Language="VB" CodeFile="article.master.vb" Inherits="article" % You need to create a content page that uses the master page as a template. In addition, you need to use a single master page for all devices that access the Web site. Which code segment should you use? ()A、%@ Page Language="VB" Theme="article"%B、%@ Page Language="VB" MasterPageFile="~/article.master"%C、%@ Page Language="VB" ie:MasterPageFile="~/article.master"%D、%@Page Language="VB" all:MasterPageFile="~/article.master"%
考题
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do? ()A、Set Page.MasterPageFile in the Page's Page_Init event.B、Set Page.MasterPageFile in the Page's OnInit event.C、Set Page.MasterPageFile in the Page's Page_Load event.D、Set Page.MasterPageFile in the Page's Page_PreInit event.
考题
You are perfoming security testing on an existing asp.net web page.You notice that you are able to issue unauthorised postback requests to the page. You need to prevent unauthorised post back requests. which page directive you use?()A、%@Page strict = "true" % B、%@Page enableViewStateMac = "true" %C、%@Page EnableEventValidation = "true" %D、%@Page Aspcompact = "true" %
考题
单选题要设置某个JSP页面为错误处理页面,以下page指令正确的是()。A
〈%@ page errorPage=true%〉B
〈%@ page isErrorPage=true%〉C
〈%@ page extends=javax.servlet.jsp.JspErrorPage%〉D
〈%@ page info=error%〉
考题
单选题()用于声明当前页为error页?A
<%@ page errorPage=true %>B
<%@ page info=error %>C
<%@ page pageEndcoding=error %>D
<%@ page isErrorPage=true %>
考题
单选题You are implementing an ASP.NET Web page. The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use?()A
% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %B
% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %C
% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %D
% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %
考题
单选题You are perfoming security testing on an existing asp.net web page.You notice that you are able to issue unauthorised postback requests to the page. You need to prevent unauthorised post back requests. which page directive you use?()A
%@Page strict = true % B
%@Page enableViewStateMac = true %C
%@Page EnableEventValidation = true %D
%@Page Aspcompact = true %
考题
单选题Page指令用于定义JSP文件中的全局属性,下列关于该指令用法的描述不正确的是:()A
%@ page %%@ page %作用于整个JSP页面B
可以在一个页面中使用多个%@ page %%@ page %指令C
为增强程序的可读性,建议将%@ page %%@ page %指令放在JSP文件的开头,但不是必须的D
%@ page %%@ page %指令中的属性只能出现一次
考题
单选题与page指令 等价的是()。A
%@ import="“java.util.*" page=""%@ import="“java.text.*" page=""%@ import="“java.text.*" page=""%@ import="“java.util.*" page=""%@ import="“java.text.*" page=""%@ import="“java.util.*" page=""%@ page import= “java.util.* % %@ page import= “java.text.* “ % B
%@ page import= “java.util.*” , import= “java.text.* “ % C
%@ page import= “java.util.* “ ; % %@ page import= “java.text.* “ ; %D
%@ page import= “java.util.* ; java.text.* “ %
考题
问答题打开http://www/web/sichi01.html页面,浏览网页,点击不同的链接进入子页面详细浏览。并将子页面一、子页面二和子页面三以HTML文件类型保存到考生文件夹下,文件名分别为Pagel.html、Page2.html和Page3.html。
考题
单选题Every page of your web site must include a common set of navigation menus at the top of the page. Thismenu is static HTML and changes frequently,so you have decided to use JSP’s static import mechanism. Which JSP code snippet accomplishes this goal?()A
%@ import file=’/common/menu.html’ %B
%@ page import=’/common/menu.html’ %C
%@ import page=’/common/menu.html’ %D
%@ include file=’/common/menu.html’ %E
%@ page include=’/common/menu.html’ %
考题
单选题Your web application views all have the same header, which includes the tag in the elementof the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put itinto a single JSP called /WEB-INF/jsp/header.jsp. However, the title of each page is unique, so you havedecided to use a variable called pageTitle to parameterize this in the header JSP, like this: 10.${param.pageTitle} Which JSP code snippet should you use in your main view JSPs to insert the header and pass thepageTitle variable?()A
jsp:insert page=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:insertB
jsp:include page=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:includeC
jsp:include file=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:includeD
jsp:insert page=’/WEB-INF/jsp/header.jsp’. jsp:param name=’pageTitle’ value=’Welcome Page’ / . /jsp:insertE
jsp:include page=’/WEB-INF/jsp/header.jsp’. jsp:param name=’pageTitle’ value=’Welcome Page’ / . /jsp:include
热门标签
最新试卷