Assume the tag handler for a st:simple tag extends SimpleTagSupport.
In what way can scriptlet code be used 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
Answer: B
Under what two circumstances is the setJspBody method NOT called in a tag class that implements
the SimpleTag interface? (Choose two.)
A. The tag is invoked without a body.
B. The doTag method throws an exception.
C. The <body-content> element has the value empty.
D. The tag is called with the attribute skip-body=true.
Answer: AC
Testpassport professional provide SUN Other Certifications 310-084 the newest Q&A, completely covers 310-084 test original topic. With our complete SUN Other Certifications resources, you will minimize your SUN Other Certifications cost and be ready to pass your 310-084 tests on Your First Try, 100% Money Back Guarantee included!
