I am working on J2EE project with Struts 2. I am going to divide different module through web fragment project.
In my core module I am using Struts 2 and it works well. Now I also want my fragment module to use Struts 2.
So is it a good practice to place all the mapping in struts.xml
of core module?
Is it possible to divide the struts.xml
into pieces and place in different fragment module?
If I can place struts.xml
in fragment module, which folder should I place it ?