在JSP中,若要在JSP正确使用标签:
第1题:
以下选项中,哪一项不是JSP指令()。
A、page
B、import
C、include
D、taglib
第2题:
当我们要在JSP页面中使用自定义标签时需要()。
第3题:
A、在tld文件中定义标记
B、创建一个标记处理器
C、引入这个标记的标记库,并指定前缀名
D、在JSP页面中使用page指令
E、在JSP页面中使用taglib指令
第4题:
在JSP中使用()指令来声明对标签的引用
第5题:
下面关于Jsp的说法错误的是()。
第6题:
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>
第7题:
JSP中JavaBean是通过指令标签()来访问的。
第8题:
A.<%@taglibURL=”/hello”prefix=”examples”%>
B.<%@taglibURI=”/hello”prefix=”examples”%>
C.<%@tagliburl=”/hello”prefix=”examples”%>
D.<%@tagliburi=”/hello”prefix=”examples”%>
第9题:
在J2EE中,在my.jsp中使用标记扩展,下列选项正确的是()
第10题:
下面哪个方法不属于JSP指令:()