Re: JSP Precompilation and Servlet 3.0

2010-11-08 Thread Tim Funk
An enhancement bug has been entered for those with the itch. It appears the existing JspC task still writes out 2.3 when it writes a new web.xml. https://issues.apache.org/bugzilla/show_bug.cgi?id=50234 -Tim On 11/8/2010 5:45 AM, Ronald Klop wrote: +1 Precompiled jsp's with annotations in a

Re: JSP Precompilation and Servlet 3.0

2010-11-08 Thread Ronald Klop
+1 Precompiled jsp's with annotations in a jar. Op vrijdag, 5 november 2010 21:07 schreef Pid : On 05/11/2010 15:06, Christopher Schultz wrote: > Chuck, > > On 11/5/2010 10:57 AM, Caldarale, Charles R wrote: >>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >>> Subject

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Tim Funk
While I like the idea of using web-fragment.xml for precompiled jsp's - it would require the "meta-data complete" flag to be set to false which may as a side effect allow other artifacts to be loaded too. Hopefully jsp-precompile is part of the webapp build/deploy process so a developer can ig

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Pid
On 05/11/2010 15:06, Christopher Schultz wrote: > Chuck, > > On 11/5/2010 10:57 AM, Caldarale, Charles R wrote: >>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >>> Subject: JSP Precompilation and Servlet 3.0 > >>> Hopefully, this will make JSP precompilation less onerous for

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/5/2010 10:57 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: JSP Precompilation and Servlet 3.0 > >> Hopefully, this will make JSP precompilation less onerous for >> users.

RE: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: JSP Precompilation and Servlet 3.0 > Hopefully, this will make JSP precompilation less onerous for users. I don't think the current mechanism is particularly onerous, since Tomcat supplies an ant script to do all the d

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Mikolaj Rydzewski
On Fri, 05 Nov 2010 10:13:50 -0400, Christopher Schultz 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. Generat

RE: JSP precompilation

2007-07-09 Thread Caldarale, Charles R
> -Original Message- > From: Phi-Long LE [mailto:[EMAIL PROTECTED] > Subject: Re: JSP precompilation > > Probably we gonna keep our previous method to precompile JSPs > unless I find out an efficient and quick method to set it up. Have you looked at the Tomcat doc on

Re: JSP precompilation

2007-07-09 Thread Phi-Long LE
Well... I don't gonna keep in mind the third option... obviously obvious isn't it ? ;-) Probably we gonna keep our previous method to precompile JSPs unless I find out an efficient and quick method to set it up. Le 09/07/2007 15:54, David Delbecq a écrit : You can either precompile (eg using s

Re: JSP precompilation

2007-07-09 Thread David Delbecq
You can either precompile (eg using specific tomcat ant target) and include the precompiled files in your .war, add with it the mappings in web.xml for each jsp. (Long and not so easy) Or, you can install in tomcat something like lambda-probe, that has an interface to compile JSP, interface you co