JSP技术
第1题:
JSP是一种Java服务器端技术,其实质是一个Servlet。与Servlet的生命周期相同,JSP也有生命周期。在JSP的生命周期中,JSP引擎调用一系列的方法执行JSP,其中不包括( )
A、jspInit
B、jspActivate
C、jspService
D、jspDestroy
第2题:
A.PHP
B.CGI
C.ASP
D.JSP
第3题:
A、ASP技术
B、HTML技术
C、PHP技术
D、JSP技术
第4题:
常用的动态网页技术一般包括()。
第5题:
A.<%!inti;%>
B.<%=inti;%>
C.<jsp:expr>inti;</jsp:expr>
D.<jsp:scriptlet>inti;</jsp:scriptlet>
E.<jsp:declaration>inti;</jsp:declaration>
第6题:
JSP EL表达式的语法为( )
A、!JSP expression
B、@{JSP expression}
C、${JSP expression}
D、#{JSP expression}
第7题:
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>
第8题:
A.JSP的全称是JavaServerPages
B.JSP是由sun公司主导,许多别的公司参与一起来建设的一种动态网页技术
C.在HTML文件里加入Java程序片段和JSP标签可以构成JSP网页
D.JSP的运行环境是,正确安装JDK即可
第9题:
A.<jsp:importfile=’foo.jsp’/>
B.<jsp:importpage=’foo.jsp’/>
C.<jsp:includepage=’foo.jsp’/>
D.<jsp:includefile=’foo.jsp’/>
第10题:
动态网页实现的主流技术是()