why we are not implement business logic in struts action?



why we are not implement business logic in struts action?..

Answer / 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

More Struts Interview Questions

How is a lookup dispatch action created?

0 Answers  


How to set email notification using struts.Plz give the example code?

5 Answers   HCL,


What is interceptor in Struts2?

0 Answers  


What are the classes used as part of struts framework ?

0 Answers  


Does Struts2 action and interceptors are thread safe?

0 Answers  


What is action class? What are the types of action class?

0 Answers  


What are construction struts?

0 Answers  


How action mapping is configured in Struts?

0 Answers  


What is MVC Architecture?

21 Answers   HCL, Hexaware, Infosys, Infrascape, Tech Mahindra,


what is the difference between *.do & /do.*/? So what is the diffenence btn extension mapping & path mapping.What is those difference in work effect?

6 Answers   Wipro,


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

0 Answers  


What is the purpose of @doublerangefieldvalidator annotation?

0 Answers  


Categories