Anonymous | Login | Signup for a new account | 12-17-2024 10:34 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002499 | [Resin] | minor | always | 03-06-08 13:36 | 03-20-08 13:06 | ||||
Reporter | sam | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | urgent | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.5 | ||||||
Summary | 0002499: JSP problem with session scope attribute named 'application' | ||||||||
Description |
(rep by B Whitehead) 'application' is an POJO stored in the session like this: request.getSession().setAttribute("application", application); In my application I am trying to use the JSTL 'c' taglib to do the following: <%@ taglib prefix='c' uri='http://java.sun.com/jstl/core' [^] %> <c:if test="${application.id == 1}"> <jsp:include page="/css/app1_css.jsp" /> </c:if> <c:if test="${application.id == 2}"> <jsp:include page="/css/app2_css.jsp" /> </c:if> Here is the exception that I receive when I try and load up a JSP containing the above code: javax.el.PropertyNotFoundException: 'id' is an unknown bean property of 'com.caucho.server.webapp.Application' at javax.el.BeanELResolver.getValue(BeanELResolver.java:196) at com.caucho.jsp.el.PageContextELResolver.getValue(PageContextELResolver.java:175) at com.caucho.el.ArrayResolverExpr.getValue(ArrayResolverExpr.java:148) at com.caucho.el.PathExpr.getValue(PathExpr.java:141) at com.caucho.el.EqExpr.evalBoolean(EqExpr.java:78) at |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |