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

How is forward action used for integration?

751


What is the purpose of action tag in struts.xml?

728


How to upload struts file?

782


What configuration files are used in struts?

723


List some bundled validators?

762


Do we need to pay the struts if being used in commercial purpose?

736


Difference between struts and spring? Or why use spring, if you are already using struts?

723


What are the various struts tag libraries?

718


Explain about token feature in struts?

739


Which configuration files are used in struts?

704


What is the difference between session scope and request scope when saving formbean ?

757


Define struts?

816


How can you create your custom interceptor in struts 2?

724


How struts2 supports internationalization?

884


What is actionform in struts?

658