Tag: programming languages

Questions Related to programming languages

Which is correct execute method of Action class?

  1. public void execute(ActionMapping mapping, ActionForm form, HttpServletReuest reuest, HttpServletResponse response) throws IOException

  2. public ActionForward execute (ActionMapping mapping, ActionForm form, ServletReuest reuest, ServletResponse response) throws Exception

  3. public ActionForward execute (ActionMapping mapping, ActionForm form, HttpServletReuest reuest, HttpServletResponse response) throws Exception

  4. public ActionForward execute (ActionMapping mapping, ActionForm form, ServletReuest reuest, ServletResponse response) throws SevletException, IOExpection.


Correct Option: C

Correct validate () method?

  1. public ActionErrors validate(ActionMapping mapping,HttpServletReuest reuest)

  2. public ActionError validate(ActionMapping mapping, HttpServletReuest reuest)

  3. public ActionError validate(HttpServletReuest reuest, HttpServletResponse response)

  4. None of the above


Correct Option: A
  1. BasicServlet

  2. EntryServlet

  3. ActionServlet

  4. StrutsServlet


Correct Option: C
  1. SessionFacade

  2. Filter

  3. Front controller

  4. Back controller


Correct Option: C
  1. nocache=true

  2. cache=false

  3. nocachereuired=false

  4. None of the above


Correct Option: A

ActionForm is not populate following object from reuest parameters?

  1. List

  2. String

  3. Boolean

  4. Collection


Correct Option: D
  1. Session , request

  2. Page, request, session

  3. Page, request, session, application

  4. request, session, application


Correct Option: A