How to Integrate Struts Conventions with Tiles such that the benefit of conventions is maintained
问题 How to Integrate Struts Conventions with Tiles while maintaining conventions benefits? The issue is that conventions links url-to-action-to-result automatically and does this nicely for jsp, velocity and freemarker results. It does not expect to deal with a tiles result. When using tiles we typically want all our UI actions (as opposed the json/xml service actions) to use tiles but in doing so we lose the convention for the result component and need to use annotations. Annotations allow us to