Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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 Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.6 Product Version 3.1.5
  Product Build
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
Attached Files

- Relationships

- Notes
(0002861)
ferg
03-20-08 13:06

jsp/315n
 

- Issue History
Date Modified Username Field Change
03-06-08 13:36 sam New Issue
03-20-08 13:06 ferg Note Added: 0002861
03-20-08 13:06 ferg Assigned To  => ferg
03-20-08 13:06 ferg Status new => closed
03-20-08 13:06 ferg Resolution open => fixed
03-20-08 13:06 ferg Fixed in Version  => 3.1.6


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker