Java certification Quiz
J2EE Quiz - 3

« 1 2 3 »

1. What does JSTL stand for?
a) JavaServer Pages Standard Tag Library
b) JSP Tag Library
c) Java Standard Tag Library
d) None of the above
Wrong! Try again..
Wrong Again! Try one more chance.
Wrong!  The correct answer is a) JavaServer Pages Standard Tag Library
Correct! JavaServer Pages Standard Tag Library
2. Which of the following is true about  action?
a) The forward action terminates the action of the current page
b) The forward action forwards the request to another resource such as a static page, another JSP page, or a Java Servlet
c) Both of the above
d) None of the above

Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is c) Both of the above
Correct! c) Both of the above
3. Which of the following method can be used to read all parameters names?
a) request.getParameterNames()
b) request.getParameter()
c) response.getParameter()
d) response.getParameterNames()
Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is a) request.getParameterNames()
Correct! request.getParameterNames()
4. request is instance of which class? 
a) HttpRequest
b) Request
c) ServletRequest
d) HttpServletRequest

Wrong! Try again.
Wrong Again! Try one more chance.
Wrong!
The correct answer is d) HttpServletRequest
Correct! HttpServletRequest
5. Which of the following is NOT a directive?
a) export
b) include
c) page
d) useBean

Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is a) export
export is not a directive
Correct! export is not a directive
6. Implicit object config is instance of which class?
a) javax.servlet.ServletConfig
b) javax.servlet.ServletContext
c) javax.servlet.Context
d) javax.servlet.Application

Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is a) javax.servlet.ServletConfig
Correct! javax.servlet.ServletConfig
7.  Cookies are :
a) binary files stored on the server computer and they are kept for various information tracking purpose
b) text files stored on the client computer and they are kept for various information tracking purpose
c) binary files stored on the client computer and they are kept for data storage purpose
d) None of the above
Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is b) text files stored on the client computer and they are kept for various information tracking purpose
http is a stateless protocol. The server does not remember the client when a request comes in next time.
The browser sends the cookie back to the server each time so that the server can authenticate the client
Correct!   text files stored on the client computer and they are kept for various information tracking purpose
http is a stateless protocol. The server does not remember the client when a request comes in next time.
The browser sends the cookie back to the server each time so that the server can authenticate the client
Core Java Quiz