|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 2499 | minor | always | 03-06-08 13:36 | 03-20-08 13:06 | |
|
|
|||||
| Reporter: | sam | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | urgent | OS Version: | |||
| Status: | closed | Product Version: | 3.1.5 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.1.6 | ||
|
|
|||||
| 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 |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||