I've downloaded and built Tomcat 5.5.9. The samples it builds (e.g.
./webapps/servlets-examples/WEB-INF/classes/filters/ExampleFilter.class)
seem to be bad class files - they have EFBFBDEF rather than CAFEBABE at
the start.
Anyone seen this?
Regards,
Edward.
I have some JSP which throws an exception, which Tomcat then logs. We
catch that exception and deal with it, so I don't want it logged.
Previously we've changed the Tomcat code to avoid logging this
particular exception, but I'm trying to avoid doing that, so that I
don't need to provide my own
, e.g. as part of
starting Tomcat. But I'm wondering whether there's a way you're supposed to
do something like this? E.g. is there a way you can register something to get
invoked when Tomcat is loading JSP, without having to hack the code to do so?
Thanks for any help,
Edward Hibbert.
How about integrating it in your ant build script?
This changes your preprocessing from runtime to compile time.
Bernhard
-Ursprüngliche Nachricht-
Von: Edward Hibbert [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 18. Juli 2005 11:32
An: tomcat-user@jakarta.apache.org
Betreff
- which the replies so far suggest - then fine.
Edward.
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: 18 July 2005 11:12
To: Tomcat Users List
Subject: RE: Preprocessing JSP pages
From: Edward Hibbert [mailto:[EMAIL PROTECTED]
Indeed, we don't want to have
JSP pages
Have you considered using the assertion facility in the Java 5.0 compiler?
Daron.
-Original Message-
From: Edward Hibbert [mailto:[EMAIL PROTECTED]
Sent: Monday, 18 July 2005 7:38 PM
To: Tomcat Users List
Subject: RE: Preprocessing JSP pages
Our changes are things like