its a ActionForm controller or model?

Answers were Sorted based on User's Feedback



its a ActionForm controller or model?..

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

its a ActionForm controller or model?..

Answer / ram-sd softech

Its a MODEL

Is This Answer Correct ?    3 Yes 4 No

its a ActionForm controller or model?..

Answer / amulbaby

it is a controller

Is This Answer Correct ?    4 Yes 5 No

its a ActionForm controller or model?..

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

its a ActionForm controller or model?..

Answer / sandya

My doubt is clarified.
Thanq Ramesh.

Is This Answer Correct ?    2 Yes 4 No

its a ActionForm controller or model?..

Answer / madhuchilipi

Action Form is a Controller.Model means Business logic

Is This Answer Correct ?    6 Yes 19 No

Post New Answer

More Struts Interview Questions

Which design pattern the interceptors in struts2 is based on?

0 Answers  


How do you create message resource?

0 Answers  


Why are frameworks used?

0 Answers  


What is struts2 namespace?

0 Answers  


What is the procedure of operation of a form tag?

0 Answers  






State an example of struts configuration file as an action parameter for action servlet.

0 Answers  


What is difference between perform() used in struts1.0 and execute() used in 1.1 ?

3 Answers   Infotech,


What is package name in struts xml?

0 Answers  


How we can configured action mapping in struts?

0 Answers  


What is the purpose of @urlvalidator annotation?

0 Answers  


What is the significance of logic tags in Struts?

0 Answers  


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

2 Answers   TCS,


Categories