Sail E0 Webinar

MCQs

Total Questions : 25 | Page 2 of 3 pages
Question 11. The Struts Framework is a standard for developing well-architected Web applications, it has the following features?
  1.    Open Source
  2.    Model View Controller
  3.    Implement the JSP Model 2 Architecture
  4.    All mentioned above
 Discuss Question
Answer: Option D. -> All mentioned above




Question 12. Which of the following tags in struts-config.xml file defines the availability of necessary Struts JSP custom tag libraries?
  1.    jsp-lib
  2.    struts-taglib
  3.    taglib
  4.    jsp-taglib
 Discuss Question
Answer: Option C. -> taglib




Question 13. Which method is necessary for Action class?
  1.    valuator()
  2.    reset()
  3.    findForward()
  4.    execute()
 Discuss Question
Answer: Option D. -> execute()




Question 14. Abbreviate the term OGNL?
  1.    Object-Goal Navigation Language
  2.    Object- Graph Navigation Language
  3.    Oriented-Graph Navigation Language
  4.    None of the above
 Discuss Question
Answer: Option B. -> Object- Graph Navigation Language




Question 15. In interceptor which is used to display the intermediate result?
  1.    Params Interceptor
  2.    Custom Interceptor
  3.    ExecAndWait Interceptor
  4.    Prepare Interceptor
 Discuss Question
Answer: Option C. -> ExecAndWait Interceptor




Question 16. What is defeult result type?
  1.    dispatcher
  2.    FreeMaker
  3.    redirect
  4.    None of the above
 Discuss Question
Answer: Option B. -> FreeMaker




Question 17. In Struts, how can we access Java beans and their properties?
  1.    Row Library
  2.    Tag Library
  3.    Column Library
  4.    Table Library
 Discuss Question
Answer: Option B. -> Tag Library




Question 18. ActionServlet, RequestProcessor and Action classes are the components of
  1.    View
  2.    Model
  3.    Controller
  4.    Deployment
 Discuss Question
Answer: Option C. -> Controller




Question 19. Struts combines which of these in to a unified Framework?
  1.    Java Servlets
  2.    Java Server pages
  3.    Custom tags and Message Resources
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 20. In the Action interface which constant indicates that action execution is successful but no result should be shown to the user?
  1.    Success
  2.    Login
  3.    Input
  4.    None
 Discuss Question
Answer: Option D. -> None




Latest Videos

Latest Test Papers