网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

JSP开发Web站点的主要方式有:直接JSP、JSP+JavaBean、JSP+JavaBean+Servlet、______________和SSH。


参考答案和解析
J2EE 或 JavaEE
更多 “JSP开发Web站点的主要方式有:直接JSP、JSP+JavaBean、JSP+JavaBean+Servlet、______________和SSH。” 相关考题
考题 下列关于JSP说法中不正确的是()。 A、JSP是IBM公司推出的新一代站点开发语言B、JSP解决了目前ASP、PHP的一个通病——脚本级执行C、JSP将内容的生成和显示进行分离D、JSP强调可重用的组件

考题 JSP开发网站的两种常见模式分为jsp+javabean和jsp+javabean+servlet。() 此题为判断题(对,错)。

考题 以下选项中()不是开发JSP应用程序所必需的。A、JDKB、J2EESDKC、web服务器D、开发工具Eclipse

考题 Youarebuildingyourownlayoutmechanismbyincludingdynamiccontentforthepage’sheaderandfootersections.Thefooterisalwaysstatic,buttheheadergeneratesthetitletagthatrequiresthepagenametobespecifieddynamicallywhentheheaderisimported.WhichJSPcodesnippetperformstheimportoftheheadercontent?()A.jsp:includepage=’/WEB-INF/jsp/header.jsp’jsp:paramname=’pageName’value=’WelcomePage’//jsp:includeB.jsp:importpage=’/WEB-INF/jsp/header.jsp’jsp:paramname=’pageName’value=’WelcomePage’//jsp:importC.jsp:includepage=’/WEB-INF/jsp/header.jsp’jsp:attributename=’pageName’value=’WelcomePage’/./jsp:includeD.jsp:importpage=’/WEB-INF/jsp/header.jsp’.jsp:attributename=’pageName’value=’WelcomePage’/./jsp:import

考题 Yourwebapplicationviewsallhavethesameheader,whichincludesthetitletagintheheadelementoftherenderedHTML.YouhavedecidedtoremovethisredundantHTMLcodefromyourJSPsandputitintoasingleJSPcalled/WEB-INF/jsp/header.jsp.However,thetitleofeachpageisunique,soyouhavedecidedtouseavariablecalledpageTitletoparameterizethisintheheaderJSP,likethis:10.title${param.pageTitle}titleWhichJSPcodesnippetshouldyouuseinyourmainviewJSPstoinserttheheaderandpassthepageTitlevariable?()

考题 YouarebuildingJSPpagesthathaveasetofmenusthatarevisiblebasedonauser’ssecurityrole.Thesemenusarehand-craftedbyyourwebdesignteam;forexample,theSalesManagerrolehasamenuinthefile/WEB-INF/html/sales-mgr-menu.html.WhichJSPcodesnippetshouldbeusedtomakethismenuvisibletotheuser?()A.%if(request.isUserInRole(SalesManager)){%%@includefile=’/WEB-INF/html/sales-mgr-menu.html’%%}%B.jsp:iftest=’request.isUserInRole(SalesManager)’%@includefile=’/WEB-INF/html/sales-mgr-menu.html’%/jsp:ifC.%if(request.isUserInRole(SalesManager)){%.jsp:includefile=’/WEB-INF/html/sales-mgr-menu.html’/.%}%D.jsp:iftest=’request.isUserInRole(SalesManager)’jsp:includefile=’/WEB-INF/html/sales-mgr-menu.html’//jsp:if

考题 有两个页面a.jsp和b.jsp,要从a.jsp传值到b.jsp有几种方法?分别是什么?

考题 有三个页面,a.jsp,b.jsp和c.jsp,流程是:a.jsp-b.jsp-c.jsp,其中a.jsp中提交的数据要在c.jsp中访问,用最简单的方法 怎么做?注意不能放在session里

考题 下图为Web站点的文档属性窗口,若主目录下只有Default.jsp、index.htm和iisstart.htm三个文件,则客户端访问网站时浏览的文件是()。 A.Default.htm B.Default.jsp C.index.htm D.iisstart.htm

考题 目前JavaBeans和JSP技术是Web应用服务器三层结构中的中间层业务逻辑开发的主要工具。

考题 以下选项中()不是开发JSP应用程序所必需的。A、JDKB、J2EE SDKC、web服务器D、开发工具Eclipse

考题 关于JSP的论述,正确的有()A、JSP是JavaScript的简称B、JSP可以直接编译成class文件C、JSP是被解释成HttpServlet后再编译的D、JSP是被解释成HttpJspPage后再编译的

考题 Web开发技术中的客户端技术有()。A、超文本标记语言B、脚本语言C、可扩展标记语言D、ASPE、JSP

考题 To take advantage of the capabilities of modern browsers that use web standards, such as XHTML andCSS, your web application is being converted from simple JSP pages to JSP Document format. However,one of your JSPs, /scripts/screenFunctions.jsp, generates a JavaScript file. This file is included in severalweb forms to create screen-specific validation functions and are included in these pages with the followingstatement: 10. 11.  14. 15. Which JSP code snippet declares that this JSP Document is a JavaScript file?()A、%@ page contentType=’application/javascript’ %B、jsp:page contentType='application/javascript' /C、jsp:document contentType='application/javascript' /D、jsp:directive.page contentType='application/javascript' /E、No declaration is needed because the web form XHTML page already declares the MIME type of the /scripts/screenFunctions.jsp file in the script tag. tag.

考题 JSP+JavaBean模式,这种模式通常称为“Model1模式。

考题 在JSP中,若要在JSP正确使用标签:,在jsp中声明的taglib指令为:%@tagliburi=“/WEB-INF/myTags.tld”prefix=“()”%。A、xB、getKingC、myTagsD、king

考题 下列对于JSP说法中正确的是()A、JSP是Sun公司推出的新一代站点开发语言B、JSP完全解决了目前ASP、PHP的一个通病——脚本级执行C、JSP将内容的生成和显示进行分离D、JSP强调可重用的组件E、JSP采用标识简化页面开发

考题 JSP开发网站的两种模式分为jsp+javabean和jsp+javabean+servlet。

考题 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  tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?() titleA、jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:includeB、jsp:import page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:importC、jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:includeD、jsp:import page=’/WEB-INF/jsp/header.jsp’. jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:import

考题 You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()A、% if ( request.isUserInRole("SalesManager") ) { % %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % % } %B、jsp:if test=’request.isUserInRole("SalesManager")’ %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % /jsp:ifC、% if ( request.isUserInRole("SalesManager") ) { % . jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / . % } %D、jsp:if test=’request.isUserInRole("SalesManager")’ jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / /jsp:if

考题 判断题JSP+JavaBean模式,这种模式通常称为“Model1模式。A 对B 错

考题 判断题目前JavaBeans和JSP技术是Web应用服务器三层结构中的中间层业务逻辑开发的主要工具。A 对B 错

考题 判断题JSP开发网站的两种模式分为jsp+javabean和jsp+javabean+servlet。A 对B 错

考题 单选题Which JSTL code snippet can be used to import content from another web resource?()A c:import url=foo.jsp/B c:import page=foo.jsp/C c:include url=foo.jsp/D c:include page=foo.jsp/

考题 单选题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  tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?()A jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:includeB jsp:import page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:importC jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:includeD jsp:import page=’/WEB-INF/jsp/header.jsp’. jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:import

考题 单选题You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()A % if ( request.isUserInRole(SalesManager) ) { % %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % % } %B jsp:if test=’request.isUserInRole(SalesManager)’ %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % /jsp:ifC % if ( request.isUserInRole(SalesManager) ) { % . jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / . % } %D jsp:if test=’request.isUserInRole(SalesManager)’ jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / /jsp:if

考题 单选题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

考题 单选题下面语句中,正确的是()A public.class.AddAction.implements.Action{...extends.ActionB mapping.findForward(/ch01/result.jsp);findForward(“name”),new.ActionForward(“/ch01/result.jsp”)C form.method=getaction=add.doD action.name=addActionpath=/addtype=y2ssh.sg.web.action.AddActionName指form的名字