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
@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 scr
developer can ignore it during development. But an admin (or release
manager) can ensure that all jsps do compile before release is deployed.
Setting up jsp-precompilation is a PITA the first time or 2 but once you
get the hang of it, the precompilation step can be part of a standard
snipp
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 m
-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
> 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
. 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
- - class annotations
The current method for JSP precompilation (which I've never used, mind
you, so forgive my ignorance if I'm incorrect) is cumbersome:
- - run the compiler
- - copy the new .class files somewhere
- - drop a huge load of junk into web.xml
It occurred to me that that
On 6/21/2010 7:48 AM, Pid wrote:
On 20/06/2010 17:24, shunhao chen wrote:
Hi all,
I have 2100 jsp files in my system, and I use the following ant
script to precompile my jsp files. It takes 10 minutes to complete. 10 minutes
is too long for me, because I also need to run class obfusc
On 20/06/2010 17:24, shunhao chen wrote:
> Hi all,
> I have 2100 jsp files in my system, and I use the following ant
> script to precompile my jsp files. It takes 10 minutes to complete. 10
> minutes is too long for me, because I also need to run class obfuscation,
> js/css compressor a
Hi all,
I have 2100 jsp files in my system, and I use the following ant script
to precompile my jsp files. It takes 10 minutes to complete. 10 minutes is too
long for me, because I also need to run class obfuscation, js/css compressor
and test case. It’s any tips for me to speed up the
I am trying to do jsp precompilation using ant 1.7.1 tomcat 6.0.14, jdk
1.5.0.14. Attached is my ant task for pre-compilation. I am getting the
attached error message. I even tried jspc, jasper2. I don't understand
what is missing in the classpath.
Ant
> -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
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
> -Ursprüngliche Nachricht-
> Von: David Delbecq [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 9. Juli 2007 15:54
> An: Tomcat Users List
> Betreff: Re: JSP precompilation
>
>
> You can either precompile (eg using specific tomcat ant target) and
> include the precompiled file
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
hi there,
currently, the project I work on, we deploy our application simply using
tar file, now testing tomcat, we would use war file... that's ok for
that in a meantime on our current production platform (iplanet) we
precompile JSP and create an other tar file... what is then the best
p
Please create a working (simple) war file which reproduces the error and
submit it to Bugzilla.
-Tim
Peter L wrote:
Thanks Tim but it doesn't appear to be entirely resolved...
Long story short:
- Tried to precompile using the jbossweb-tomcat55.sar from jboss-4.0.3
- Same problem (I think its
Thanks Tim but it doesn't appear to be entirely resolved...
Long story short:
- Tried to precompile using the jbossweb-tomcat55.sar from jboss-4.0.3
- Same problem (I think its Tomcat-5.5.12)
- Upgraded jars to Tomcat-5.5.13
- Got an error during compilation of actual tag file (instead of the
clie
IIRC - this is fixed in 5.5. I'm not sure if it was fixed with 5.5.12 - but
5.5.13 was just tagged and should be available soon. BUT it hasn't been voted
how stable it is yet. (beta, alpha, stable)
-Tim
Peter L wrote:
Hello,
I'm trying to precompile JSP's for a JBoss(4.0.1) / Tomcat(5.0) serv
Hello,
I'm trying to precompile JSP's for a JBoss(4.0.1) / Tomcat(5.0) server
and everything is cool except I get a ClassNotFoundException when a
Recursive Tagfile is encountered
[jasper2] SEVERE: ERROR-the file
'\WEB-INF\pages\templates\resolveResultsDialog.jsp' generated the
following genera
Hello,
I'm trying to precompile JSP's for a JBoss(4.0.1) / Tomcat(5.0) server
and everything is cool except I get a ClassNotFoundException when a
Recursive Tagfile is encountered
[jasper2] SEVERE: ERROR-the file
'\WEB-INF\pages\templates\resolveResultsDialog.jsp' generated the
following genera
I have noticed that when I use an Ant script based on that documented in
the Tomcat docs to precompile all my JSPs the resulting JSPs do not
support source-level (JSR-45) debugging.
I thought I was doing something wrong so I looked through the JspC
source code and I can't see how I could feed
23 matches
Mail list logo