JSTL setProperty in bean issue
From: Pat Kelley (kelleyp_at_sosstaffing.com)
Date: 10/29/03
- Next message: Raymond DeCampo: "Re: which foo(x)"
- Previous message: Murat Tasan: "inner class referencing outer classes members"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Oct 2003 16:52:13 -0600
I am trying to feed database column data into a bean using JSTL expression
language:
<jsp:setProperty name="fileWrite" property="fileText" value="1"/>
<c:set var="test" value="test"/>
<c:forEach items="${query.rowsByIndex}" var="row">
<jsp:setProperty name="fileWrite" property="curColValue"
value="${test}"/>
<c:out value="${row[0]}"/>
The setProperty attribute value will not evaluate the expression, instead
it places the literal string into the bean. ( The <c:out tag prints the
data correctly. )
- Next message: Raymond DeCampo: "Re: which foo(x)"
- Previous message: Murat Tasan: "inner class referencing outer classes members"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]