Sail E0 Webinar

MCQs

Total Questions : 25 | Page 3 of 3 pages
Question 21. Which of the following delegates the request handling to the RequestProcessor instance?
  1.    ActionServlet
  2.    Action class
  3.    Deployment descriptor
  4.    None of the above
 Discuss Question
Answer: Option A. -> ActionServlet




Question 22. What is the role of ActionContextCleanUp class in struts 2?
  1.    Handles special clean up task when filters need access to an initialized struts framework
  2.    Works like garbage collector in java
  3.    All of these
  4.    None
 Discuss Question
Answer: Option A. -> Handles special clean up task when filters need access to an initialized struts framework




Question 23. Which of the following methods is overridden by Action class?
  1.    run()
  2.    destroy()
  3.    execute()
  4.    service()
 Discuss Question
Answer: Option C. -> execute()




Question 24. reset() method signature in ActionForm?
  1.    public void reset(ActionMapping mapping, HttpServletRequest request)
  2.    public ActionErrors reset(ActionMapping mapping, HttpServletRequest request)
  3.    public ActionError reset(ActionMapping mapping, HttpServletRequest request)
  4.    None of the above
 Discuss Question
Answer: Option B. -> public ActionErrors reset(ActionMapping mapping, HttpServletRequest request)




Question 25. Which of the following tag is used to render a I18n text message?
  1.    set tag
  2.    text tag
  3.    url tag
  4.    push tag
 Discuss Question
Answer: Option C. -> url tag




Latest Videos

Latest Test Papers