(1) Bad coder karma
<%page import="java.util.*,java.io.*,"%> will cause an error with the trailing comma
(2) (more bad coder karma) Placing return statements in your JSP should be in a conditional because if not, there is a much better chance that you'll get a statement not reachable compile error.
(3) If have custom tags - there probably not tag pooling friendly, so turn tag pooling off
(4) The incremental gc option on HP blew chunks. At least thats what it seemed like when I was testing the server with that option turned on. I haven't gone through extensive tuning yet. In general, if I give enough memory to the JVM and make sure my kernel params are high enough - I stop there. Perfomance has always been nice on their servers.
Why go to 5? My main reasons ... - JSP2.0 -- EL - User defined functions in EL
JSTL has made our code sooooo much easier to read. With 5 - now I can get rid of all those <c:out> tags.
-Tim
Wendy Smoak wrote:
From: "John Villar" <[EMAIL PROTECTED]>
A question to everyone out there..... why does anyone use nowadays Tomcat 4 branch?..... isn't tomcat 5 branch more bug free, featurefull and backwards compatible? that question has haunted me from the beginning of joining this list.....
Because we're on HP-UX and they have not yet officially blessed Tomcat 5. That, and Tomcat 4 works perfectly well, I haven't found sufficient motivation to test everything on TC5 and start developing with the new features yet.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
