多项选择题
Which two directives are applicable only to tag files?()
A.Tag
B.Page
C.Taglib
D.Include
E.Variable
点击查看答案
相关考题
-
单项选择题
You are creating a library of custom tags that mimic the HTML form tags. When the user submits a formthat fails validation, the JSP form is forwarded back to the user. The<t:textField> tag must support the ability to re-populate the form field with the request parameters from theuser’s last request. For example, if the user entered "Samantha" in the text field called firstName, then theform is re-populated like this: <input type=’text’ name=’firstName’ value=’Samantha’ /> Which tag handler method will accomplish thisgoal?()
A.
B.
C.
D. -
单项选择题
WhichstatementistrueifthedoStartTagmethodreturnsEVAL_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. -
单项选择题
Assume the tag handler for a st:simple tag extends Simple Tag Support. In what way can scriptlet code beused in the body of st:simple?()
A.Set the body content type to JSP in the TLD
B.Scriptlet code is NOT legal in the body of st:simple.
C.Add scripting-enabled="true" to the start tag for the st:simple element
D.Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and place the scriptlet code in the body of that tag
