Home / CSE MCQs / Struts 2 ::

CSE MCQs :: Struts 2

  1. Which of the following is correct about FreeMaker result type?
  2. A.
    It is used to forward to a servlet, JSP, HTML page, and so on, on the server. It uses the RequestDispatcher.forward() method
    B.
    It is used to generate output using predefined templates
    C.
    It calls the standard response.sendRedirect() method, causing the browser to create a new request to the given location
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which technology can be used at View Layer in Struts?
  4. A.
    J2EE
    B.
    DHTML
    C.
    XML/XSLT
    D.
    JavaScript

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. In which configuration file is a link between the View and Model components in the Web Client but you would not have to touch these settings for 99.99% of your projects?
  6. A.
    The struts-config.xml file
    B.
    The struts.xml file
    C.
    The web.xml file
    D.
    The struts.properties file

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. In Which technology Struts 2 provides various types of tags such as UI tags, Data tags, control tags etc. to ease the development of struts 2 application?
  10. A.
    Various Result support
    B.
    Integration Support
    C.
    Various Tag support
    D.
    Theme and Template support

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following is correct about FreeMaker result type?
  12. A.
    It is used to forward to a servlet, JSP, HTML page, and so on, on the server. It uses the RequestDispatcher.forward() method
    B.
    It is used to generate output using predefined templates
    C.
    It calls the standard response.sendRedirect() method, causing the browser to create a new request to the given location
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which technology can be used at View Layer in Struts?
  14. A.
    J2EE
    B.
    DHTML
    C.
    XML/XSLT
    D.
    JavaScript

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. In which configuration file is a link between the View and Model components in the Web Client but you would not have to touch these settings for 99.99% of your projects?
  16. A.
    The struts-config.xml file
    B.
    The struts.xml file
    C.
    The web.xml file
    D.
    The struts.properties file

    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 Which technology Struts 2 provides various types of tags such as UI tags, Data tags, control tags etc. to ease the development of struts 2 application?
  20. A.
    Various Result support
    B.
    Integration Support
    C.
    Various Tag support
    D.
    Theme and Template support

    View Answer

    Workspace

    Discuss Discuss in Forum