• Admin
  • 01st Jun, 2022


Following are mostly asked Jsf MCQ test that are designed for professionals like you to crack you interviews. You can take this Jsf online test before appearing to you real interview. This Jsf quiz there are around 30+ multiple choice questions on Jsf with four options.

1) What does JSF Stands for?

  • A. JavaServer Faces
  • B. JavaServer Facility
  • C. JavaScript Framework
  • D. None of Above

2) Which of the scripting of jsp not putting content into service method of the converted servlet

  • A. Scriptlets
  • B. Expressions
  • C. Declarations
  • D. All of the above

3) What are the features of JSF?

  • A. Component-Based Framework
  • B. Ease and Rapid Web Development.
  • C. Support HTML5 & Internationalization
  • D. All of the above

4) Pagecontext is instance of which class?

  • A. javax.servlet.Application
  • B. javax.servlet.ServletConfig
  • C. javax.servlet.jsp.PageContext
  • D. javax.servlet.ServletContext

5) What is the difference between Servlets and JSP?

  • A. syntax
  • B. translation
  • C. compilation
  • D. None of Above
Download Free : JSF MCQ PDF

6) What is the file extension of JSF?

  • A. .js
  • B. .jsf
  • C. .jvm
  • D. None of the above

7) Is Jsf a server-side component based on the user interface framework?

  • A. True
  • B. False

8) Which isn't a directive?

  • A. page
  • B. export
  • C. include
  • D. useBean

9) What is the valid scopes in JSP?

  • A. request, page, session, global
  • B. request, page, context, application
  • C. request, page, session, application
  • D. response, page, session, application

10) ............... is the Default Templating System for JSF.

  • A. XUL
  • B. ReXSL
  • C. Spring
  • D. Facelets

11) Which of the following is Often Used With JSF?

  • A. JCL
  • B. Ajax
  • C. Cobit

12) JSF 1.0 was released in ........

  • A. 2005
  • B. 2004
  • C. 2003
  • D. 2002

13) A JSF application typically follows ........... in its life.

  • A. six steps
  • B. five steps
  • C. four steps
  • D. three steps

14) Why db connections are not written directly in JSPs?

  • A. Load Balancing is not possible
  • B. Not a standard J2EE architecture
  • C. Response is slow
  • D. Both A & B

15) Are custom tags available in JSP 1.0?

  • A. Yes
  • B. No

16) Attribute used to handle web flow requests.

  • A. servlet-attr
  • B. servlet-mapping
  • C. servlet-flow
  • D. servlet-requests

17) File extension of a view state’s name which is by default loaded by facelet page.

  • A. .xml
  • B. .xhtml
  • C. .hbm.xml
  • D. None of the mentioned

18) For cross field validation or some sort of barrier to ensure state before you start a flow, we use.

  • A. FacesContext
  • B. FaceletContext
  • C. FacesResolver
  • D. All of the mentioned

19) To use Spring Faces Components, we register which of the following?

  • A. Servlet API
  • B. ResourceServlet
  • C. All of the mentioned
  • D. None of the mentioned

20) Resources retrieved by Spring Faces Component.

  • A. JavaScript
  • B. CSS
  • C. Both A & B
  • D. None of the mentioned

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

Oracle MCQ
Maven MCQ