its a ActionForm controller or model?
Answers were Sorted based on User's Feedback
Answer / mohan
According to MVC2 rules, it is the responsibility of ActionServlet to do form validation but since its built-in servlet, we cant place validation logic in ActionServlet class, so we use ActionForm to do validation.......So ActionForm acts as a controller not model....
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ramesh
hi Sandya,
ActionForm means bean(having setters and getters+validate
())
bean menas model. so ActionForm means Model.
not controller.
Servlet can act as Controller only.
if u have any quires,please contact me
at:ballem_rb@yahoo.co.in
Is This Answer Correct ? | 6 Yes | 8 No |
Answer / madhuchilipi
Action Form is a Controller.Model means Business logic
Is This Answer Correct ? | 6 Yes | 19 No |
Which design pattern the interceptors in struts2 is based on?
How do you create message resource?
Why are frameworks used?
What is struts2 namespace?
What is the procedure of operation of a form tag?
State an example of struts configuration file as an action parameter for action servlet.
What is difference between perform() used in struts1.0 and execute() used in 1.1 ?
What is package name in struts xml?
How we can configured action mapping in struts?
What is the purpose of @urlvalidator annotation?
What is the significance of logic tags in Struts?
i have 500 jsps in my application,and i have same forward name for each jsp,so it lokks in strutsconfig.xml,from 1 to 500,but i want send 498 page directly,how can i cingigure my application