Tuesday 19 June 2012

why package tag needed in struts i.e. modularize domain problem where as import package modularise the development tasks

<struts> is the root tag element, under which we declare different packages using <package> tags. Here <package> allows separation and modularization of the configuration. This is very useful when you have a large project and project is divided into different modules. Say, if your project has three domains - business_applicaiton, customer_application and staff_application, you could create three packages and store associated actions in the appropriate package

No comments:

Post a Comment