Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 96273 invoked from network); 30 Oct 2008 01:06:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2008 01:06:27 -0000 Received: (qmail 66691 invoked by uid 500); 30 Oct 2008 01:06:30 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 66639 invoked by uid 500); 30 Oct 2008 01:06:30 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 66627 invoked by uid 99); 30 Oct 2008 01:06:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2008 18:06:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 01:05:24 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id C6AC7234C24A; Wed, 29 Oct 2008 18:06:04 -0700 (PDT) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 46126] New: Unable to compile class for JSP X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 5 X-Bugzilla-Component: Jasper X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yf37745@huawei.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 29 Oct 2008 18:06:04 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46126 Summary: Unable to compile class for JSP Product: Tomcat 5 Version: 5.5.20 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: dev@tomcat.apache.org ReportedBy: yf37745@huawei.com Hi I am getting the following error while compile the jsp on Jboss 4.0.5 integrating with tomcat 5.5.20 . exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 11 in the jsp file: /test.jsp Generated servlet error: org.apache cannot be resolved or is not a field org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) the source code of test.jsp: <%@ page contentType="text/html;charset=UTF-8"%> <% String org=""; %> edit the source code of commonheader.jsp: <%@ page contentType="text/html;charset=UTF-8"%> <% String tempstr="jsp:include"; %> <%=tempstr%> If i change the name of variable "org" with "org1" or change the code of "test.jsp" <%@ page contentType="text/html;charset=UTF-8"%> edit <% String org=""; %> It' ok, no exception. I think maybe the "org" is the keyword of tomcat. i want to know the reason of this problem. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org