Re: Splitting the struts.xml file
Michael Bien <[email protected]>
| Newsgroups | gmane.comp.java.roller.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Yash, i actually don't mind central configs - at least until they grow large and become difficult to maintain. It has currently ~650 lines which isn't too bad IMO. There is also an alternative to splitting: a lot of it could be moved to annotations which would shrink the file. i would probably leave it as is until it grows but I am not opposed to the idea to cleaning things up, best regards, michael On 29.05.21 11:51, Yash Maheshwari wrote: > Hi Team, > > I was exploring the roller project and found that the struts.xml file > contains mappings for all the packages in it. But I think we can split this > file into multiple XML files each one representing a single package. And > then including those in the struts.xml file. > > This will help in finding and understanding a specific package mapping > easily and will make the file more understandable. > > WDYT? > > Thank You, > Yash Maheshwari >