Home / CSE MCQs / Struts 2 ::

CSE MCQs :: Struts 2

  1. The Struts Framework is a standard for developing well-architected Web applications, it has the following features?
  2. A.
    Open Source
    B.
    Model View Controller
    C.
    Implement the JSP Model 2 Architecture
    D.
    All mentioned above

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Abbreviate the term OGNL?
  4. A.
    Object-Goal Navigation Language
    B.
    Object- Graph Navigation Language
    C.
    Oriented-Graph Navigation Language
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which method is necessary for Action class?
  6. A.
    valuator()
    B.
    reset()
    C.
    findForward()
    D.
    execute()

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. In interceptor which is used to display the intermediate result?
  8. A.
    Params Interceptor
    B.
    Custom Interceptor
    C.
    ExecAndWait Interceptor
    D.
    Prepare Interceptor

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which of the following tags in struts-config.xml file defines the availability of necessary Struts JSP custom tag libraries?
  10. A.
    jsp-lib
    B.
    struts-taglib
    C.
    taglib
    D.
    jsp-taglib

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. What is defeult result type?
  12. A.
    dispatcher
    B.
    FreeMaker
    C.
    redirect
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. In Struts, how can we access Java beans and their properties?
  14. A.
    Row Library
    B.
    Tag Library
    C.
    Column Library
    D.
    Table Library

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Struts combines which of these in to a unified Framework?
  16. A.
    Java Servlets
    B.
    Java Server pages
    C.
    Custom tags and Message Resources
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. ActionServlet, RequestProcessor and Action classes are the components of
  18. A.
    View
    B.
    Model
    C.
    Controller
    D.
    Deployment

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. In the Action interface which constant indicates that action execution is successful but no result should be shown to the user?
  20. A.
    Success
    B.
    Login
    C.
    Input
    D.
    None

    View Answer

    Workspace

    Discuss Discuss in Forum