日期:2014-05-18  浏览次数:20671 次

关于struts<html:radio>里嵌套struts标签问题
大家好~!
  我的问题是<html:radio>中value不认识<bean>标签 直接当成字符串处理了 如何解决这一问题呢 谢谢各位


<html:radio name="CompeteList" property="competeId" value="<bean:write name='CompeteList'  
  property='competeId'/>" onclick="alert(this.value)">  
</html:radio>

------解决方案--------------------
直接用EL表达式
${CompeteList.competeID}