why we are not implement business logic in struts action?

Answer Posted / rosaiah

because some dependency.so we are used model classes and dao classes or ejb components or spring.for enterprised applications definitely seperately we can write business logic and persistance logic.from action to model from model to dao ,same as reverse process to print the data on presentation page............

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use struts?

577


Explain about token feature in struts?

551


Lists the bundled validators in struts?

551


What are the classes used as part of struts framework ?

519


What is the purpose of @results?

582






When should we use SwtichAction?

595


How can we display validation errors on jsp page?

532


What is ognl?

598


What is includeaction?

579


What is the difference between forwardaction and includeaction?

531


What is difference between actionform and dynaactionform?

591


Why is it called struts?

531


What are action errors and error?

573


How interceptor works in struts 2?

590


How can we work with error tags?

547