网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
在J2EE中,对于动作的描述,正确的是()。
A
当前JSP执行活动停止,并且清除缓冲区,把请求传递到URL上
B
相当于include动作,把请求传递到URL上
C
当前JSP执行活动停止,并且清除缓冲区,重定向到URL上,但不把请求传递到URL上
D
相当于include指令
参考答案
参考解析
解析:
暂无解析
更多 “单选题在J2EE中,对于动作的描述,正确的是()。A 当前JSP执行活动停止,并且清除缓冲区,把请求传递到URL上B 相当于include动作,把请求传递到URL上C 当前JSP执行活动停止,并且清除缓冲区,重定向到URL上,但不把请求传递到URL上D 相当于include指令” 相关考题
考题
在J2EE中,对于动作的描述,正确的是()。
A.当前执行JSP执行活动停止,并且清楚缓冲区,把请求传递到URL上B.相当于include动作,把请求传递到URL上C.当前执行活动停止,并且清楚缓冲区,重定向URL到上,但又把请求传递到URL上D.相当于include指令
考题
在Servlet中,HttpServletResponse的_______方法用来把一个Http请求重定向到另外的URL。
A、sendURL()B、redirectURL()C、sendRedirect()D、redirectResponse()
考题
YouhaveanewITmanagerthathasmandatedthatallJSPsmustberefactoredtoincludenoscritpletcode.TheITmanagerhasaskedyoutoenforcethis.Whichdeploymentdescriptorelementwillsatisfythisconstraint?()
A.jsp-property-group.url-pattern*.jsp/url-pattern.permit-scriptingfalse/permit-scripting./jsp-property-groupB.jsp-config.url-pattern*.jsp/url-patternpermit-scriptingfalse/permit-scripting./jsp-configC.jsp-config.url-pattern*.jsp/url-pattern.scripting-invalidtrue/scripting-invalid./jsp-configD.jsp-property-group.url-pattern*.jsp/url-pattern.scripting-invalidtrue/scripting-invalid./jsp-property-group
考题
在JSP页面中通过将本页面请求转发至指定URL指定的文件,则在该URL组件(JSP页面)中可接收数据的范围是()。A、sessionB、requestC、pageD、application
考题
在J2EE中,对于动作的描述,正确的是()。 A、 当前JSP执行活动停止,并且清除缓冲区,把请求传递到URL上B、 相当于include动作,把请求传递到URL上C、 当前JSP执行活动停止,并且清除缓冲区,重定向到URL上,但不把请求传递到URL上D、 相当于include指令
考题
在J2EE中,对于以下的include指令和include动作,书写正确的是() A、jsp:include page=http://localhost:/8080/my.jsp/ B、%@ include file=http://localhost:/8080/my.jsp/C、jsp:include file=http://localhost:/8080/my.jsp/ D、%@ include page=http://localhost:/8080/my.jsp/
考题
在J2EE中,在aa.jsp中有行代码: %% request.setAttribute("Co.","jb-aptech"); % 在bb.jsp中有行代码: % out.println((String)request.getAttribute("Co.")); % % 为了使得在bb.jsp中的如上代码可以显示“jb-aptech”,可以使用()方法。A、在aa.jsp中使用form method=post action="bb.jsp"把请求提交到bb.jsp B、在aa.jsp中使用jsp:forward file="bb.jsp" /把页面重定向到bb.jsp C、在aa.jsp中使用% response.sendRedirect("bb.jsp"); %把页面重定向到bb.jsp D、在aa.jsp中使用%@ include file="bb.jsp" %包含页面bb.jsp E、在aa.jsp中使用% config.getServletContext().getRequestDispatcher("/bb.jsp").forward(request,response); %把页面重定向到bb.jsp
考题
在J2EE中,对于动作的描述,正确的是()。A、当前执行JSP执行活动停止,并且清楚缓冲区,把请求传递到URL上B、相当于include动作,把请求传递到URL上C、当前执行活动停止,并且清楚缓冲区,重定向URL到上,但又把请求传递到URL上D、相当于include指令
考题
下列语句正确的有()A、%@ include file=”head.jsp”% B、% String url=”head.jsp”;%%@ include file=”url”% C、%@ include file=”head.jsp”?name=”lovo”% D、%String companyName=”lovo”;%%@include file”head.jsp”?name=‟companyName”%
考题
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"/
考题
HttpServletResponse的()方法用于将一个HTTP请求重定向到另一个URL. A、 sendURLB、 redirectURLC、 sendRedirect()D、 getRequestDistpatcher(),
考题
Servlet中,HttpServletResponse的()方法用来把一个Http请求重定向到另外的URL。A、sendURL()B、redirectURL()C、sendRedirect()D、redirectResponse()
考题
Which JSTL code snippet can be used to perform URL rewriting?()A、a href=’c:url url="foo.jsp"/’ /B、a href=’c:link url="foo.jsp"/’ /C、a href=’c:url value="foo.jsp"/’ /D、a href=’c:link value="foo.jsp"/’ /
考题
Which the 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”/ E、 Importing cannot be done in JSTL. A standard action must be used instead.
考题
You have a new IT manager that has mandated that all JSPs must be refactored to include no scritpletcode. The IT manager has asked you to enforce this. Which deployment descriptor element will satisfy thisconstraint?()A、jsp-property-group. url-pattern*.jsp/url-pattern. permit-scriptingfalse/permit-scripting. /jsp-property-groupB、jsp-config. url-pattern*.jsp/url-patternpermit-scriptingfalse/permit-scripting. /jsp-configC、jsp-config. url-pattern*.jsp/url-pattern. scripting-invalidtrue/scripting-invalid. /jsp-configD、jsp-property-group. url-pattern*.jsp/url-pattern. scripting-invalidtrue/scripting-invalid. /jsp-property-group
考题
多选题在J2EE中,在aa.jsp中有行代码: 在bb.jsp中有行代码: 为了使得在bb.jsp中的如上代码可以显示“jb-aptech”,可以使用()方法。A在aa.jsp中使用form method=post action=bb.jsp把请求提交到bb.jspB在aa.jsp中使用jsp:forward file=bb.jsp /把页面重定向到bb.jspC在aa.jsp中使用% response.sendRedirect(bb.jsp); %把页面重定向到bb.jspD在aa.jsp中使用%@ include file=bb.jsp %包含页面bb.jspE在aa.jsp中使用% config.getServletContext().getRequestDispatcher(/bb.jsp).forward(request,response); %把页面重定向到bb.jsp
考题
单选题Which the 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”/ E
Importing cannot be done in JSTL. A standard action must be used instead.
考题
单选题阅读下面代码片段: RequestDispatcher dispatcher=request.getRequestDispatcher("a.jsp"); dispatcher.forward(request,response); 关于该段代码的作用,下列叙述哪项是正确的?()A
页面重定向到a.jsp页面B
将请求转发到a.jsp页面C
从a.jsp定向到当前页面D
从a.jsp转发到当前页面
考题
单选题在J2EE中,对于动作的描述,正确的是()。A
当前JSP执行活动停止,并且清除缓冲区,把请求传递到URL上B
相当于include动作,把请求传递到URL上C
当前JSP执行活动停止,并且清除缓冲区,重定向到URL上,但不把请求传递到URL上D
相当于include指令
考题
单选题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/
考题
多选题在JSP页面中通过将本页面请求转发至指定URL指定的文件,则在该URL组件(JSP页面)中可接收数据的范围是()。AsessionBrequestCpageDapplication
考题
单选题下列语句正确的有()A
%@ include file=”head.jsp”% B
% String url=”head.jsp”;%%@ include file=”url”% C
%@ include file=”head.jsp”?name=”lovo”% D
%String companyName=”lovo”;%%@include file”head.jsp”?name=‟companyName”%
考题
单选题Servlet中,HttpServletResponse的()方法用来把一个Http请求重定向到另外的URL。A
sendURL()B
redirectURL()C
sendRedirect()D
redirectResponse()
考题
单选题Which JSTL code snippet can be used to perform URL rewriting?()A
a href=’c:url url=foo.jsp/’ /B
a href=’c:link url=foo.jsp/’ /C
a href=’c:url value=foo.jsp/’ /D
a href=’c:link value=foo.jsp/’ /
考题
单选题You have a new IT manager that has mandated that all JSPs must be refactored to include no scritpletcode. The IT manager has asked you to enforce this. Which deployment descriptor element will satisfy thisconstraint?()A
jsp-property-group. url-pattern*.jsp/url-pattern. permit-scriptingfalse/permit-scripting. /jsp-property-groupB
jsp-config. url-pattern*.jsp/url-patternpermit-scriptingfalse/permit-scripting. /jsp-configC
jsp-config. url-pattern*.jsp/url-pattern. scripting-invalidtrue/scripting-invalid. /jsp-configD
jsp-property-group. url-pattern*.jsp/url-pattern. scripting-invalidtrue/scripting-invalid. /jsp-property-group
考题
单选题在J2EE中,对于动作的描述,正确的是()。A
当前执行JSP执行活动停止,并且清楚缓冲区,把请求传递到URL上B
相当于include动作,把请求传递到URL上C
当前执行活动停止,并且清楚缓冲区,重定向URL到上,但又把请求传递到URL上D
相当于include指令
考题
多选题在J2EE中,对于以下的include指令和include动作,书写正确的是()Ajsp:include page=http://localhost:/8080/my.jsp/B%@ include file=http://localhost:/8080/my.jsp/Cjsp:include file=http://localhost:/8080/my.jsp/D%@ include page=http://localhost:/8080/my.jsp/
热门标签
最新试卷