We have listed here the Best JSF MCQ Questions for your basic knowledge of JSF. This JSF Test contains 25 multiple Choice Questions. You have to select the right answer to every question.
16) Choose the statement that best describes the relationship between JSP and servlets?
A. JSP and servlets are unrelated technologies.
B.Servlets and JSP are competing technologies for handling web requests. Servlets are being superseded by JSP, which is preferred. The two technologies aren't useful in combination.
C.JSPs are built on servlet semantics and all JSPs are compiled to servlets for runtime usage.
D.None of these
17) Identify the initial contact point for handling a web request in a Page-Centric architecture?
A. A session manager.
B.A JSP page.
C.A JavaBean.
D.A servlet.
18) Are custom tags available in JSP 1.0?
A. Yes
B.No
19) Which of the following isn't a directive?
A. export
B.include
C.page
D.useBean
20) In JSP Action tags which tags are used for bean development?
A. jsp:getProperty
B.jsp:useBean
C.jsp:setPoperty
D.All of the above
21) Which of the following alternatives exist to embedding Java code directly within the HTML markup of your JSP page?
A. Moving the code into JavaBeans and servlets.
B.Moving the code into scriptlets.
C.Moving the code into your session manager
D.Moving the code into a transaction manager.
22) Which of the following is the Default Templating System for JSF?