DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42936>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42936
Summary: jasper compiler does not recognize generics which causes
error
Product: Tomcat 6
Version: 6.0.0
Platform: Other
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P2
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: animesh.sahay@gmail.com
In my jsp page I have a tag like:
<webuijsf:alarm id="alarm2" indicators="#{AlarmBean.alarmIndicators}"
text="Developer defined severity" severity="mySeverity" />
indicator attribute is defined : private List<Indicator> indicators;
Looks like jasper compiler doesn't recognize generics.
When I try to run the app it gives me error:
An error occurred at line: 47 in the jsp file: /alarm/refresh.jsp
Generated servlet error:
[javac]
/space/DesignTime/dt/generated/jsp/j2ee-modules/testapp/org/apache/jsp/alarm/refresh_jsp.java:579:
illegal start of expression
[javac]
_jspx_th_webuijsf_alarm_1.setIndicators(org.apache.jasper.runtime.PageContextImpl.getValueExpression("#{AlarmBean.alarmIndicators}",
(PageContext)_jspx_page_context,
java.util.List<com.sun.webui.jsf.model.Indicator>.class, null));
[javac]
^
An error occurred at line: 47 in the jsp file: /alarm/refresh.jsp
Generated servlet error:
[javac]
/space/DesignTime/dt/generated/jsp/j2ee-modules/testapp/org/apache/jsp/alarm/refresh_jsp.java:579:
')' expected
[javac]
_jspx_th_webuijsf_alarm_1.setIndicators(org.apache.jasper.runtime.PageContextImpl.getValueExpression("#{AlarmBean.alarmIndicators}",
(PageContext)_jspx_page_context,
java.util.List<com.sun.webui.jsf.model.Indicator>.class, null));
[javac]
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
|