单项选择题X 纠错
A. a base-64 encoded user name and password
B. a form that POSTs to the j_security_check URL
C. an applet that requests the user name and password from the user
D. a hidden field that supplies the login-constraint used by the application
你可能喜欢
多项选择题
A. id
B. type
C. name
D. class
E. scope
F. create
单项选择题
A. response.getWriter()
B. response.getOutputStream()
C. response.getOutputWriter()
D. response.getWriter().getOutputSTream()
E. response.getWriter(Writer.OUTPUT_BINARY)
单项选择题
A. GET
B. INFO
C. HEAD
D. TRACE
E. OPTIONS
单项选择题
A. Account account = request.get Resource(”account”):
B. Account account = request.get Attribute (“account”):
C. Account account = request.get Parameter (account”):
D. Account account = (Account)request.getResource (“account”):
E. Account account = (Account) request.get Attribute (“account”):
F. Account account = (Account) request.get Paramter (“account”):
单项选择题
A. Compilation succeeds.
B. An error at line 2 cause compilation to fail.
C. An error at line 9 cause compilation to fail.
D. An error at line 10 cause compilation to fail.
E. An error at line 11 cause compilation to fail.
单项选择题
A. The program runs and prints “Hello”
B. An error causes compilation to fail.
C. The program runs and prints “Hello world!”.
D. The program runs but aborts with an exception.
单项选择题
A. foo has the value””
B. foo has the value null.
C. An exception is thrown.
D. The code will not compile.
单项选择题
A. The Error class is a Runtime Exception.
B. No exceptions are subclasses of Error.
C. Any statement that may throw an Error must be enclosed in a try block.
D. any statement that may throw an Exception must be enclosed in a try block.
E. Any statement that may throw an Runtime Exception must be enclosed in a try block.
单项选择题
A. response.send Redirect (http://www.example.com):
B. response.send Redirect (new URL (“http://www.example.com”));
C. Request Dispatcher rd= get Servlet Context (). Get Request Dispatcher ( http://www.example.com”)’ rd. forward (request. Response):
D. Request Dispatch rd= Get Servlet Context ().get Request Dispatcher( New URL (http://www.example.com)); Rd. forward (request.response):
单项选择题
A. session.get Resource (“/WEB-INF/myconfig.xml”)
B. request.get Resource (“/WEB-INF/myconfig.xml”)
C. context.get Resource (“/WEB-INF/myconfig.xml”)
D. get Class ().get Resource (“/WEB-INF/myconfig.xml”)