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

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

  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

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

  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

  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

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

  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

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

  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