What kind of set are you using? I will assume that you are using a HashSet as I see key/value pairs mentioned. You should probably look closer at the javadoc for HashSet (or whatever set you are using) to ensure that it has appropriate getters/setters for the methods you are trying to invoke (if it doesn't have getKeys() and getValues(), then it would explain the errors as reflection is not going to work).
It might be best to write a couple of getter methods (one for getting the keys and one for getting the values) that delegates to the appropriate methods in the set or builds the keys and values on the value using the set's contents.
On 7/26/06, Shibi Thomas <[EMAIL PROTECTED]> wrote:
Hi RajivTried this but throws error on c : outSo i tried the following :
<
c:forEach items="#{sessionScope.request.details.entrySet}" var="entry"><tr><td >${entry.key} </td>
<td>${entry.value} </ td></tr> </c:forEach> Nothing is being displayed. Do i have to do any code modification for "entrySet"RgdsShibi
On 7/20/06, jsf ster < [EMAIL PROTECTED]> wrote:Hi Shibi,
try this:
<c:forEach items="${sessionScope.request.details.entrySet}" var="entry">
<tr>
<td><c:out value="${entry.key}" /></td>
<td><c:out value="${entry.value}" /></ td>
</tr>
</c:forEach>
-Rajiv
--
Kind Regards
Shibi Thomas
Cell : 0843052341
Email : [EMAIL PROTECTED]
Rom 12:21 Do not be overcome by evil, but overcome evil with good.

