Originally posted by Pep Menval: I've been reviewing some articles in the Net about modules in Struts, and still have no clear idea of how to use them properly. Can you help me?
Modules are best used if you have a single large application that you can easily segment out into smaller pieces. If each piece is going to be developed or maintained by a different group of developers, modules are a good choice.
A good hint to consider modules is if you have a large app that, for purposes of organization, you want to group JSPs into subdirectories under your web content. Each subdirectory then can correspond to a module--and in fact, struts assumes that this is the case.
BTW, make sure that your directory names match your module--verbatim. Otherwise things like html:rewrite behave a little... unfriendly.
"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.