网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
()方法返回EVAL_BODY_AGAIN或SKIP_BODY常量。
- A、doStartTag()
- B、doEndTag()
- C、doAfterBody()
- D、release()
参考答案
更多 “()方法返回EVAL_BODY_AGAIN或SKIP_BODY常量。A、doStartTag()B、doEndTag()C、doAfterBody()D、release()” 相关考题
考题
在J2EE中,标记处理器必须对从JSP引擎发来的调用做出反应。其中有两个重要的方法,当打开或者关闭标记就会调用它们,它们分别是()。
A.dostart()方法和doend()方法B.doStartTag()方法和doEndTag()方法C.doStart()方法和doEnd()方法D.dostartTag()方法和doendTag()方法
考题
中断起飞或异常着陆,机长认为需要撤离时发布口令()A、Release!Release!Release!B、Evacuate!Evacuate!Evacuate!C、撤离!撤离!撤离!D、快!快!快!
考题
中断起飞或异常着陆,机长认为需要撤离时可发布口令()A、Release!Release!Release!B、Evacuate!Evacuate!Evacuate!C、撤离!撤离!撤离!D、快!快!快!
考题
在J2EE中,标记处理器必须对从JSP引擎发来的调用做出反应。其中有两个重要的方法,当打开或者关闭标记就会调用它们,它们分别是()。 A、dostart()方法和doend()方法B、doStartTag()方法和doEndTag()方法C、doStart()方法和doEnd()方法D、dostartTag()方法和doendTag()方法
考题
Given: 6. 7.%="processing" % 8. and a custom tag handler for foo which extends TagSupport. Which two are true about thetag handler referenced by foo?()A、The doStartTag method is called once.B、The doAfterBody method is NOT called.C、The EVAL_PAGE constant is a valid return value for the doEndTag method.D、The SKIP_PAGE constant is a valid return value for the doStartTag method.E、The EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.
考题
下面关于Tag接口说法中正确的是()。A、setPageContext()方法为初始化方法B、setParent()方法用来设置标签的上一级标签C、doStartTag()方法返回EVAL_BODY_INCLUDE和SKIP_BODY,返回EVAL_BODY_INCLUDE计算正文内容,返回SKIP_BODY不计算body。D、doEndTag方法,EVAL_PAGE或者SKIP_PAGE,当返回值为EVAL_PAGE,jsp容器将继续执行jsp页面的内容,否则不执行E、release()方法用来释放标签程序占用的任何资源
考题
下列关于BodyTagAPI说法中错误的是()A、setPageContext(pageContext)用来设置页面的上下文对象B、setParent(Tag)用来设置上一级标签,如果没有上一级标签C、doAfterBody()用来设置缓冲区,这个缓冲区可以存放解析后的bodyD、setBodyContent(BodyContent)用来先计算正文内容后,如果doStartTag返回的是EVAL_BODY_INCLUDE,那么执行这个方法,如果此方法返回的是IterationTag.EVAL_BODY_AGAIN,那么就在此计算正文内容,然后再调用此方法E、doInitBody()用来为setBodyContent()方法做准备工作
考题
Which statement is true if the doStartTag method returns EVAL_BODY_BUFFERED?()A、The tag handler must implement BodyTag.B、The doAfterBody method is NOT called.C、The setBodyContent method is called once.D、It is never legal to return EVAL_BODY_BUFFERED from doStartTag.
考题
多选题下面关于Tag接口说法中正确的是()。AsetPageContext()方法为初始化方法BsetParent()方法用来设置标签的上一级标签CdoStartTag()方法返回EVAL_BODY_INCLUDE和SKIP_BODY,返回EVAL_BODY_INCLUDE计算正文内容,返回SKIP_BODY不计算body。DdoEndTag方法,EVAL_PAGE或者SKIP_PAGE,当返回值为EVAL_PAGE,jsp容器将继续执行jsp页面的内容,否则不执行Erelease()方法用来释放标签程序占用的任何资源
考题
单选题Which statement is true if the doStartTag method returns EVAL_BODY_BUFFERED?()A
The tag handler must implement BodyTag.B
The doAfterBody method is NOT called.C
The setBodyContent method is called once.D
It is never legal to return EVAL_BODY_BUFFERED from doStartTag.
考题
单选题在J2EE中,标记处理器必须对从JSP引擎发来的调用做出反应。其中有两个重要的方法,当打开或者关闭编辑就会调用它们,它们分别是()A
dostart()方法和doend()方法B
doStartTag()方法和doEndTag()方法C
doStart()方法和doEnd()方法D
dostartTag()方法和doendTag()方法
考题
多选题Given: 6. 7. 8. and a custom tag handler for foo which extends TagSupport. Which two are true about thetag handler referenced by foo?()AThe doStartTag method is called once.BThe doAfterBody method is NOT called.CThe EVAL_PAGE constant is a valid return value for the doEndTag method.DThe SKIP_PAGE constant is a valid return value for the doStartTag method.EThe EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.
考题
多选题Given: 6. 7. 8. and a custom tag handler for foo which extends TagSupport. Which two are true about thetag handler referenced by foo?()AThe doStartTag method is called once.BThe doAfterBody method is NOT called.CThe EVAL_PAGE constant is a valid return value for the doEndTag method.DThe SKIP_PAGE constant is a valid return value for the doStartTag method.EThe EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.
热门标签
最新试卷