Hi, >First off, the 0 length Java files are due to a bug in >the Tomcat jspc compiler documented in this post: > >http://junlu.com/msg/41035.html
No. The post doesn't discuss why the files are 0-length, only the consequences of them being 0-length (such as they're ignored by javac). The bug referred to in the post you quote has since been fixed. The rest of the post talks about the poster's own errors in setting up commons-logging. >1. Is there a way to see the exact command syntax that >Tomcat uses to compile the JSP (classpath and all)? >I'm assuming it doesn't used the jspc.sh script since >that is what I'm using to precompile it and it keeps >failing. Your assumption is correct. You can add debug-level logging to the org.apache.jasper package to see exactly what it does. If you're unsure about configuring tomcat's logging, see http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j. If you want to go further and/or see the code, start with the JspServlet itself, at http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-jasper/jasper2/src/shar e/org/apache/jasper/servlet/JspServlet.java?rev=1.36&view=markup, and follow it through the JSP compilation context etc. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]