bean:write on a Collection (Set<String>)
Posted on 2007-11-27
In my Action, I have: request.setAttribute("book", book);
book is a Book object, which has a getAuthors method. getAuthors
returns a collection (Set<String>)
in JSP page, I want to list authors one by one. How shall I do?
<bean:write name="book" property="authors" /> does not work as I want.