On Tue, Mar 15, 2011 at 9:13 PM, Ben McCann <bmcc...@google.com> wrote: > I didn't realize you could setup Struts2 without XML. That sounds fantastic > to me. I'd vote in favor of moving it to the core or at least highlighting > it in the documentation. Having to do configuration in XML is the one thing > I dislike about Struts2 despite being a longtime and happy user of the > framework. I much prefer doing configuration in code or via annotations. > FYI, Matt, I've been using extensionless URLs with Struts2 for awhile > without the plugin. Try doing something like <constant > name="struts.action.extension" value="action,,"/> > > [snip] >
Funny, for me it's the exact opposite: I much prefer to have my configuration done in XML. Centralized (but split up per role, for example), easily searchable, bulk operations, changeable without requiring recompilations, ... especially for larger or fast-moving applications, the XML configuration files are much clearer than the annotation counterpart. My 2 cents, Phil -- "We cannot change the cards we are dealt, just how we play the hand." - Randy Pausch --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org