The tag handler must extend body Tag.
The do After Body method is NOT called.
The set Body Content method is called.
It is never legal to return EVAL_BODY_BUFFERED from do Start Tag.
第1题:
Under what two circumstances is the set JspBody method NOT called in a tag class that implements the Simple Tag interface? ()
第2题:
You are creating a Windows Communication Foundation (WCF) service that implements the following service contract.[ServiceContract]public interface IOrderProcessing { [OperationContract] void ApproveOrder(int id);}You need to ensure that only users with the Manager role can call the ApproveOrder method. What should you do?()
第3题:
Which statement is true if the doStartTag method returns EVAL_BODY_BUFFERED?()
第4题:
Which three are valid values for the body-content attribute of a tag directive in a tag file?()
第5题:
You are creating a Windows Communication Foundation (WCF) service that implements the following service contract.
第6题:
In the method body, check the Rights PosessesProperty property to see if it contains Manager
Add a PrincipalPermission attribute to the method and set the Roles property to Manager
Add a SecurityPermission attribute to the method and set the SecurityAction to Demand
In the method body, create a new instance of WindowsClaimSet. Use the FindClaims method to locate a claimType named Role with a right named Manager
第7题:
Set the body content type to JSP in the TLD
Scriptlet code is NOT legal in the body of st:simple
Add scripting-enabled= “true” to the start tag for the st:simple element
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.
第8题:
The do After Body method is called.
The doEnd Tag method is NOT called.
The type attribute may be specified in the TLD
The do Start Tag Method must always return SKIP_BODY.
The TLD for this tag must NOT include a
第9题:
In the method body, check the Rights.PosessesProperty property to see if it contains manager.
Add a PrincipalPermission attribute to the method and set the Roles property to Manager.
Add a SecurityPermission attribute to the method and set the SecurityAction to Demand.
In the method body, create a new instance of WindowsClaimSet.
第10题:
It is impossible to determine the deepest nesting depth because it is impossible for tag handlers that extend SimpleTagSupport to communicate with their parent and child tags
Create a private non-static attribute in the tag handler class called count of type int initialized to oIncrement count in the doTag method. If the tag has a body, invoke the fragment for that body. Otherwise, output the value of count
Start a counter at 1. Call getChildTags(). If it returns null, output the value of the counter. Otherwise, increment counter and continue from where getChildTags() is called. Skip processing of the body.
If the tag has a body, invoke the fragment for that body. Otherwise, start a counter at 1. Call getParent(). If it returns null, output the value of the counter. Otherwise, increment the counter and continue from where getParent() is called.
第11题:
The tag is invoked without a body.
The doTAb method throws an exception.
The
The tag is called with the attribute skip-body=true
第12题:
Set the body content type to JSP in the TLD
Scriptlet code is NOT legal in the body of st:simple.
Add scripting-enabled=true to the start tag for the st:simple element
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
第13题:
Which statement is true if the do Start Tag method returns EVAL_BODY_BUFFERED?()
第14题:
How do you define the authentication method that will be used with AAA?()
第15题:
Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()
第16题:
Which the two are true about the JSTL core iteration custom tags?()
第17题:
You are developing a custom-collection class.You need to create a method in your class. You need to ensure that the method you create in your class returns a type that is compatible with the Foreach statement. Which criterion should the method meet?()
第18题:
The tag handler must implement BodyTag.
The doAfterBody method is NOT called.
The setBodyContent method is called once.
It is never legal to return EVAL_BODY_BUFFERED from doStartTag.
第19题:
The tag handler must extend body Tag.
The do After Body method is NOT called.
The set Body Content method is called.
It is never legal to return EVAL_BODY_BUFFERED from do Start Tag.
第20题:
EL
JSP
Empty
Dynamic
Scriptless
Tagdependent
第21题:
The method must return a type of either IEnumerator or IEnumerable.
The method must return a type of IComparable.
The method must explicitly contain a collection.
The method must be the only iterator in the class.
第22题:
The do Start Tag method is called once.
The do After Body method is NOT called.
The EVAL_Page constant is a valid return value for the do End Tag Method.
the EVAL_BODY_BUFFERED constant is a valid return value for the do Start Tag method.
第23题:
The doStartTag method is called once.
The doAfterBody method is NOT called.
The EVAL_PAGE constant is a valid return value for the doEndTag method.
The SKIP_PAGE constant is a valid return value for the doStartTag method.
The EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.
第24题:
The doStartTag method is called once.
The doAfterBody method is NOT called.
The EVAL_PAGE constant is a valid return value for the doEndTag method.
The SKIP_PAGE constant is a valid return value for the doStartTag method.
The EVAL_BODY_BUFFERED constant is a valid return value for the doStartTag method.