2012/3/13 Nick Williams <nicholas.willi...@puresafety.com>: > > Our second challenge is the 11,500-line web.xml file that results from > this process. I understand that Ant does a lot of the hard work for me, but > a web.xml file this large bothers me, even if I don’t have to look at it > during every day development. What’s more, we’re actually trying to *move > away* from having a web.xml file (of any real substance) and using new > Servlet 3.0 features. >
There was a discussion to pack precompiled JSPs as a web fragment, https://issues.apache.org/bugzilla/show_bug.cgi?id=50234 but no code has been proposed to implement that. If you seriously consider this feature to be useful to be used in a real application, you may be the one contributing the code. If you pass an empty web.xml to be updated by precompile tasks, it should not be hard to convert it into web-fragment.xml, using an XSLT transform or just regexp replacements. Though note that a web application that does not use fragments and annotations (and has metadata-complete="true" in its web.xml) starts up faster, because Tomcat does not need to spend time scanning the classes and libraries for annotations and web fragments. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org