kaldin

  • Login

Struts Exam


1) Every new user-defined action must extend the org.apache.struts.action.Action class directly.
  • A)

  • B)

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
Which of these are the parameters of Action classs execute method
Use the following command to display the error on the jsp page:
An ActionForm is a JavaBean which extends the:
Note: assume all necessary imports are present Which of the following is a correct way to add an error to an ActionErrors object