Update JspC to allow new options to 1) Write web-fragment.xml as a valid web-fragment file. 2) Place all the precompiled jsp classes into a jar file 3) Put the web-fragment,xml (from step 1) into META-INF/web-fragment.xml of the jar file created in step 2
4) Use annotations (independent from #1-#3 in comment #0)
It looks like annotations don't make any sense, here. Brain fart on my part. On the other hand, it looks like a simple change to a properties file plus a new build-jspc.xml build script should do the trick. Working on a patch.
*** Bug 53424 has been marked as a duplicate of this bug. ***
4) abandon the requirement for web.xml if a web-fragment.xml is present At the moment (Tomcat 7), a dummy web.xml has to be defined in order to define the version (i.e. for expresions within the JSPs).
Fixed in: - trunk for 9.0.9 onwards - 8.5.x for 8.5.32 onwards - 7.0.x for 7.0.89 onwards