By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,538 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,538 IT Pros & Developers. It's quick & easy.

JSTL setProperty in bean issue

P: n/a
I am trying to feed database column data into a bean using JSTL expression
<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"
<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. )

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.