Then any other way to do it using JSTL or Jakarta taglibs. This functionaly
is very useful because most pages uses the same technique to display
content. I think Struts is providing similar functionality.

Antony Paul.

----- Original Message -----
From: "Martin van Dijken" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 05, 2003 3:37 PM
Subject: Re: Calling a bean method in <c:out/>


> Hey Antony,
>
> It is correct that that gives an error. You see it is impossible to call
>   methods in the Expression Language of JSTL. If your bean-class
> implements java.util.Map however, it is possible to get the item you
> want by using:
>
> <c:forEach var="i" items="${list}">
>   <c:out value="${i["empno"]}"/><br>
> </c:forEach>
>
> Grtz,
>
> Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to