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.
第1题:
Under what two circumstances is the set JspBody method NOT called in a tag class that implements the Simple Tag interface? ()
第2题:
Under which circumstances will a thread stop?()
第3题:
Which of the following statements are true?()
第4题:
Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()
第5题:
Which statement is true?()
第6题:
A filter must implement the destroy method.
A filter must implement the doFilter method.
A servlet may have multiple filters associated with it.
A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface.
A filter that is part of a filter chain passes control to the next filter in the chain by invoking the FilterChain.forward method.
第7题:
A class’s finalize() method CANNOT be invoked explicitly.
super.finalize() is called implicitly by any overriding finalize() method.
The finalize() method for a given object is called no more than once by the garbage collector.
The order in which finalize() is called on two objects is based on the order in which the two objects became finalizable.
第8题:
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.
第9题:
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
第10题:
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.
第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题:
It can be invoked only from the doGet or doPost methods.
It can be used independently of the getRemoteUser method.
Can return true even when its argument is NOT defined as a valid role name in the deployment descriptor.
Using the isUserInRole method overrides any declarative authentication related to the method in which it is invoked.
第13题:
Which statement is true if the do Start Tag method returns EVAL_BODY_BUFFERED?()
第14题:
Which statement is true if the doStartTag method returns EVAL_BODY_BUFFERED?()
第15题:
Which three are true about servlet filters?()
第16题:
You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()
第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 method waitforId() in class MediaTracker is called.
The run() method that the thread is executing ends.
The call to the start() method of the Thread object returns.
The suspend() method is called on the Thread object.
The wait() method is called on the Thread object.
第19题:
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.
第20题:
A
The echo tag handler must define the setAttribute (String key, String value) method
The
The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.IterationTag interface
The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.DynamicAttributes interface
第21题:
Line 33 must be called within a try block.
The exception thrown by method 1 in class A is not required to be caught.
The method declared on line 31 must be declared to throw a runtime exception.
On line 5 of class A,the call to method 2 of class B does not need to be placed in a try catch block.
第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.