Developing Applications with Java EE 6 on WebLogic Server 12c Ed 3 Quiz Questions and Answers

Which of the following action variable is used to include a file in JSP?

Answer :
  • jsp:include

Which option is true about session scope?

Answer :
  • Objects are accessible only from the pages which are in same session

What type of protocol is HTTP?

Answer :
  • stateless

How are java web applications packaged?

Answer :
  • war

Which of the following code retrieves the body of the request as binary data?

Answer :
  • DataInputStream data = request.getInputStream()

Which three are valid URL mappings to a servlet in a web deployment descriptor? A. */* B. *.do C. MyServlet D. /MyServlet E. /MyServlet/* F. MyServlet/*.jsp

Answer :
  • B,D,E