https://bz.apache.org/bugzilla/show_bug.cgi?id=62577
Bug ID: 62577
Summary: apache cannot be resolved or is not a field
Product: Tomcat 7
Version: 7.0.76
Hardware: PC
Status: NEW
Severity: blocker
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When test.jsp pages have a variable name like org
For example:
<%
String org = (String)session.getAttribute("organization_id");
%>
The test.jsp will show 500 error ,The error information like below:
"org.apache.jasper.JasperException: Unable to compile class for JSP"
"apache cannot be resolved or is not a field"
When I change this variable name to others like : org_parm\org_id
This jsp can be displayed normally
In my environment(Windows 7 x64) , this 500 error will only appear when Tomcat
version>= 7.0.76 (even includes Tomcat 8.5)
Everything is good when Tomcat version <=7.0.75
A same problem on internet like this:
http://techierg.blogspot.com/2011/07/jsp-compilation-error-apache-cannot-be.html
But this comments posted in 2011 , Perhaps in other environments, this error
will appear in earlier Tomcat server versions
On the Internet , people only know the variable name "org" have some
compatibility issues
But no one can tell the reason
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]