kaldin

  • Login

Struts Exam


1) Note: assume all necessary imports are present Which of the following is a correct way to add an error to an ActionErrors object?
  • A)

  • B)

  • C)

  • D)

Next
Show Answer:
Show Answer


More Question
In Following Code 01: public class MyForm extends ActionForm 02: 03: private String field; 04: 05: public void setField(String value) 06: field = value; 07: 08: 09: public String getField() 10: return field; 11: 12: 13: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) 14: ActionErrors errors = new ActionErrors(); 15: return errors; 16: 17: 18: What will be the expected result when you try to compile and execute it
Select components that can be used as model.
An ActionForm is a JavaBean which extends the:
The following declaration of dynamic form (without properties) in struts-config.xml is valid.
What design pattern does the ActionServlet implement