|
Your ywyList is an object. The direct output object in JSTL will call the toString () method by default, but if you use JDO or Hibernate, this default call seems to be problematic. What is the suggestion that you use this object Just write the attribute. For example, if there is a name attribute in ywyList and you want to output it, then the above statement should be written as
<SELECT name = "ywy" size = "1">
<c: forEach var = "ywyList" items = "$ {ywyArr}">
<OPTION value = "$ {ywyList.name}"> $ {ywyList.name} </ OPTION>
</ c: forEach>
</ SELECT> |
|