<tld><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location></tld>
<taglib><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location>. </taglib>
<tld>. <tld-uri>dbtags</tld-uri>. <tld-location>/WEB-INF/tlds/dbtags.tld</tld-location> . </tld>
<taglib><taglib-uri>dbtags</taglib-uri><taglib-location>/WEB-INF/tlds/dbtags.tld. </taglib-location>. </taglib>
第1题:
A JSP page contains a taglib directive whose uri attribute has the value dbtags. Which XML element withinthe web application deployment descriptor defines the associated TLD?()
第2题:
Which implicit object is used in a JSP page to retrieve values associated with
第3题:
第4题:
Given in a single JSP page: <%@ taglib prefix=’java’ uri=’myTags’ %> <%@ taglib prefix=’JAVA’ uri=’moreTags’ %> Which two are true?()
第5题:
Which two are valid values for the
第6题:
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:import>
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’>. <jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:import>
第7题:
<tld><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location></tld>
<taglib><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location>. </taglib>
<tld>. <tld-uri>dbtags</tld-uri>. <tld-location>/WEB-INF/tlds/dbtags.tld</tld-location> . </tld>
<taglib><taglib-uri>dbtags</taglib-uri><taglib-location>/WEB-INF/tlds/dbtags.tld. </taglib-location>. </taglib>
第8题:
<b></b>
<b>12</b>
The JSP fails to execute.
<% int i = 12 %><b><%= i %></b>
第9题:
FORM
DIGEST
NORMAL
ENCRYPTED
CLIENT-CERT
第10题:
<class><br/>
<webapp><br/>
<servlet><br/>
<codebase><br/>
<servlet-class>
第11题:
NULL
SECURE
INTEGRAL
ENCRYPTED
CONFIDENTIAL
第12题:
<jsp:insert page=’/WEB-INF/jsp/header.jsp’>. ${pageTitle=’Welcome Page’}. </jsp:insert>
<jsp:include page=’/WEB-INF/jsp/header.jsp’>. ${pageTitle=’Welcome Page’}. </jsp:include>
<jsp:include file=’/WEB-INF/jsp/header.jsp’>. ${pageTitle=’Welcome Page’}. </jsp:include>
<jsp:insert page=’/WEB-INF/jsp/header.jsp’>. <jsp:param name=’pageTitle’ value=’Welcome Page’ /> . </jsp:insert>
<jsp:include page=’/WEB-INF/jsp/header.jsp’>. <jsp:param name=’pageTitle’ value=’Welcome Page’ /> . </jsp:include>
第13题:
A developer wants a web application to be notified when the application is about to be shut down. Which two actions are necessary to accomplish this goal?()
第14题:
You are building your own layout mechanism by including dynamic content for the page’s header and footersections. The footer is always static, but the header generates the
第15题:
Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
第16题:
Which element of the web application deployment descriptor defines the servlet class associated with aservlet instance?()
第17题:
/conf/web.xml
/WEB-INF/web.xml
/conf/server.xml
/META-INF/web.xml
/WEB-INF/rules.xml
/META-INF/server. Xml
第18题:
Tag files can only be accessed using a tagdir attribute.
The sort.jsp page translates successfully and invokes the tag defined by beta.tag.
The sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.
Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.
The tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is createdand added to the web application.
第19题:
<b></b>
<b>12</b>
The JSP fails to execute.
<% int i = 12 %><b><%= i %></b>
第20题:
<realm-name>
<auth-method>
<security-role>
<transport-guarantee>
<web-resource-collection>
第21题:
<tld><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location></tld>
<taglib><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location>. </taglib>
<tld>. <tld-uri>dbtags</tld-uri>. <tld-location>/WEB-INF/tlds/dbtags.tld</tld-location> . </tld>
<taglib><taglib-uri>dbtags</taglib-uri><taglib-location>/WEB-INF/tlds/dbtags.tld. </taglib-location>. </taglib>
第22题:
A
B
C
D
第23题:
A
B
C
D
E
第24题:
Config
Request
Session
Application