我的代码是这样的 :
<table>
<s:iterator value="#session.list" id="car" status="sta">
<tr>
<td><img width="40px" height="50px" src="#car.picture"> </td>
</tr>
</table我使用OGNL表达式获取 session中的值 其中 picture是car 图片地址,地址写法是正确的,好像src="#car.picture"取不到picture的值,不解,不知是不是OGNL表达式用错了
<table>
<s:iterator value="#session.list" id="car" status="sta">
<tr>
<td><img width="40px" height="50px" src="#car.picture"> </td>
</tr>
</table我使用OGNL表达式获取 session中的值 其中 picture是car 图片地址,地址写法是正确的,好像src="#car.picture"取不到picture的值,不解,不知是不是OGNL表达式用错了
解决方案 »
- WebLogic,并发,文件打开过多,Java,Linux
- Spring 和Hibernate 整合的问题
- CachedRowSetImpl 是Sun 的专用AP I,可能会在未来版本中删除
- Java 后台目录 用什么框架写?
- JCA客户端
- [求助]SHH+ExtJS4.0 报no matching editors or conversion strategy found
- 微信IM 即时通讯发送视频如何保证文件大小?
- JBuilder+Weblogic开发cmp,菜鸟一问,很急
- j2ee安装问题,请各位务必帮忙,谢了先。
- extjs的表单问题
- 怎么做短信的webService接口和第三方服务器端?急!!!!
- 百度腾讯华为金山微软中兴google等面试题分享
src='<s:property name="#car.picture"/>'
错了。
应该这样
<s:property value="picture" />