On Fri, 05 Nov 2010 10:13:50 -0400, Christopher Schultz
<ch...@christopherschultz.net> wrote:
The precompiler could translate and compile all of the classes and
package them into a .jar file for you. Great. What about servlet
mappings? Well, we have two options:
1. Use annotations in the translated .java files
2. Generate a web.xml fragment and stuff it into
my-jsps.jar/WEB-INF/web-fragment.xml
Does anyone have any preferences? I suppose it could be an option to
the
precompiler, or we could even do both (do duplicate mappings
conflict?).
Hopefully, this will make JSP precompilation less onerous for users.
Personally I do not like JSP precompiling.
1. I do not put into JSP anything that user should not see.
2. Cost of compilation with first request is acceptable.
3. Possibility to change produced markup either by me or customer is
priceless.
--
Mikolaj Rydzewski <m...@ceti.pl>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org