el表达式中支不支持类型转换??高手请进!!!

来源:百度知道 编辑:UC知道 时间:2024/07/02 20:37:07
el表达式中支不支持对象的类型转换。现在我得到一个装着Object类型的List,想在页面上将Object类型的数据转换成UserList这个类的对象。然后在输出其中的值。能不能用el来做。如果不行,该用什么技术来做呢??、
各位大侠帮帮忙。小弟很急的!!!
struts标签????

<display:table uid="pmWsInfList" name="pmWsInfLists" requestURI=""
cellspacing="1" >
<display:column title="字段1" sortable="true">
<bean:write name="pmWsInfList" property="属性1"/>
</display:column>
<display:column title="字段2" sortable="true">
<bean:write name="pmWsInfList" property="属行2"/>
<display:table/>

试试吧 不知道行不行