Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()
第1题:
A.<%!inti;%>
B.<%=inti;%>
C.<jsp:expr>inti;</jsp:expr>
D.<jsp:scriptlet>inti;</jsp:scriptlet>
E.<jsp:declaration>inti;</jsp:declaration>
第2题:
A.<jsp-property-group>.<url-pattern>*.jsp</url-pattern>.<permit-scripting>false</permit-scripting>.</jsp-property-group>
B.<jsp-config>.<url-pattern>*.jsp</url-pattern><permit-scripting>false</permit-scripting>.</jsp-config>
C.<jsp-config>.<url-pattern>*.jsp</url-pattern>.<scripting-invalid>true</scripting-invalid>.</jsp-config>
D.<jsp-property-group>.<url-pattern>*.jsp</url-pattern>.<scripting-invalid>true</scripting-invalid>.</jsp-property-group>
第3题:
JSP EL表达式的语法为( )
A、!JSP expression
B、@{JSP expression}
C、${JSP expression}
D、#{JSP expression}
第4题:
JSP标准动作不包括()。
第5题:
Given the element from the web application deployment descriptor:
第6题:
Given:11.<servlet>12.<servlet-name>catalog</servlet-name>13.<jsp-file>/catalogTemplate.jsp</jsp-file>14.<load-on-startup>10</load-on-startup>15.</servlet>Whichtwoaretrue?()
A.Line13isnotvalidforaservletdeclaration.
B.Line14isnotvalidforaservletdeclaration.
C.Oneinstanceoftheservletwillbeloadedatstartup.
D.Teninstancesoftheservletwillbeloadedatstartup.
E.Theservletwillbereferencedbythenamecataloginmappings.
第7题:
A.<jsp:importfile=’foo.jsp’/>
B.<jsp:importpage=’foo.jsp’/>
C.<jsp:includepage=’foo.jsp’/>
D.<jsp:includefile=’foo.jsp’/>
第8题:
Youarebuildingyourownlayoutmechanismbyincludingdynamiccontentforthepage’sheaderandfootersections.Thefooterisalwaysstatic,buttheheadergeneratesthe<title>tagthatrequiresthepagenametobespecifieddynamicallywhentheheaderisimported.WhichJSPcodesnippetperformstheimportoftheheadercontent?()
A.<jsp:includepage=’/WEB-INF/jsp/header.jsp’><jsp:paramname=’pageName’value=’WelcomePage’/></jsp:include>
B.<jsp:importpage=’/WEB-INF/jsp/header.jsp’><jsp:paramname=’pageName’value=’WelcomePage’/></jsp:import>
C.<jsp:includepage=’/WEB-INF/jsp/header.jsp’><jsp:attributename=’pageName’value=’WelcomePage’/>.</jsp:include>
D.<jsp:importpage=’/WEB-INF/jsp/header.jsp’>.<jsp:attributename=’pageName’value=’WelcomePage’/>.</jsp:import>
第9题:
Which JSP standard action can be used to import content from a resource called foo.jsp?()
第10题:
下面哪个不是JSP中和javabean相关的标记?()