单项选择题Which statement is true if the do Start Tag method returns EVAL_BODY_BUFFERED?()

A. The tag handler must extend body Tag.
B. The do After Body method is NOT called.
C. The set Body Content method is called.
D. It is never legal to return EVAL_BODY_BUFFERED from do Start Tag.


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题


What is the result?()

A. The code will not compile.
B. The output is Caught Exception
C. The output is Caught IO Exception
D. The program executes normally without printing a message.

2.单项选择题

What is the result()?

A. Compilation will succeed.
B. Compilation will fail at line 5.
C. Compilation will fail at line 6.
D. Compilation will fail at line 14.
E. Compilation will fail at line 17.

3.单项选择题


What is the result?()

A. The code compiles and “s=” is printed.
B. The code compiles and “s=null” is printed.
C. The code does not compile because Strings is not initialized.
D. The code does not compile because because Strings cannot be referneed.
E. The code comiles.butt a NullPointerException is thrown when toString is called.

4.多项选择题Which two are valid declarations of char?()

A. Char ch = “a”;
B. char ch = “”;
C. char ch = “café”;
D. char ch = “ucafe”;
E. char ch = “ucafe’;
F. char ch = “u10100’;
G. char ch = (char) true;

5.多项选择题


Which three logical expressions evaluate to true?()

A. (a = = c)
B. (d = = c)
C. (b = = d)
D. (a = = b)
E. (b = = c)
F. (d == 10.0)

6.单项选择题


What is the result? ()

A. The program prints “lava”.
B. The program prints “java”.
C. An error at line 7 causes compilation to fail.
D. Complication succeeds but the program throws an exception.

7.单项选择题

}
What is the result?()

A. Compilation succeeds and 1 is printed.
B. Compilation succeeds and 2 is printed.
C. An error at line 8 causes compilation to fail.
D. An error at line 14 causes compilation to fail.

8.多项选择题Which thethree are valid URL mappings to a servlet in a web deployment descriptor? ()

A. */*
B. /*.do
C. myServlet
D. /Myservlet
E. /MyServlet/*
F. MyServlet/*.isp

10.多项选择题For a given Servlet Response response, which retrieves an object for writing binary data? ()

A. response.get writer ()
B. response.get Output Stream ()
C. response.getOutput Writer()
D. response.get Writer ().get Output Stream ()
E. response.get Writer (Writer.OUTPUT_BINARY)

最新试题

Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()

题型:单项选择题

Which two produce the output "one, two and three"?()

题型:多项选择题

A custom JSP tag must be able to support an arbitrary number of attributes whose names are unknown when the tag class is designed. Which two are true? ()

题型:多项选择题

Which code snippet, inserted at line 8, causes the value Company to be output?()

题型:单项选择题

Which two are true()

题型:多项选择题

For a given product instance, which three jsp:setProperty attributes must be used to initialized its properties form the HTML form? ()

题型:多项选择题

Which three are guaranteed to be valid for the  element of a web application deployment descriptor?()

题型:多项选择题

Given that session is a valid HttpSession object:  Int max = session.getAttribute(“MyReallyLongName”);  Which is true?()  

题型:单项选择题

Which the two are valid and equivalent?()

题型:多项选择题

When using Form Based Authentication, which pair of fields must be used in the login form?()  

题型:单项选择题