I am attempting to precompile the JSP pages for a web application using the
instructions found in the "Web Application Compilation" section at
<http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html>.  When
I run the ant tasks as described in that section, the "jspc" task runs fine
but the "compile" task generates a number of errors complaining about
"private" modifiers; e.g.,

    [javac]
/usr/local/tomcat/webapps/blackboard/WEB-INF/src/about/techinfo_jsp.java:11:
 modifier private static not allowed here
    [javac]   private static java.util.Vector _jspx_includes;
    [javac]                                   ^
    [javac]
/usr/local/tomcat/webapps/blackboard/WEB-INF/src/about/techinfo_jsp.java:13:
 modifier private not allowed here
    [javac]   private org.apache.jasper.runtime.TagHandlerPool
_jspx_tagPool_template_insert_template;
    [javac]                                                    ^

Any ideas what I'm doing wrong?  I'm using Tomcat 4.1.18, Struts 1.0.2, and
Java 1.4.1.

Thanks in advance.
--Jim

==================================
Jim Coble
Senior Technology Specialist
Center for Instructional Technology
Email: [EMAIL PROTECTED]
Voice: 919-660-5974  Fax: 919-660-5923
Box 90198, Duke University
Durham, NC 27708-0198
==================================




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to