关于把<bean:write>的值赋给<html:radio value/>的方法!急!!!!!!!!!!! <html:radio property="selectID" name="t" /> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html:radio property="selectID" value='<bean:write name="t" property="selectID"/>' /> 按楼上所说,解释后的html代码为<input type="radio" name="selectID" value="<bean:write name="t" property="selectID"/>">还不行..请大家继续关注.. <input type="radio" name="selectID" value='<bean:write name="t" property="selectID"/>'> 用bean;define<bean:define id="str" name="t" property="selectID"/><html:radio property="selectID" value="<%=str%>"/> 如果按楼上所说的用.还不如...<html:radio property="selectID" value="<%=t.getSelectID()%>" />我的意思是<html:radio property="selectID" value="????"/>这个语句的问号处,能不能用标签替换!郁闷中................................................... 不能。其实一般来说,html:radio的value都是写死的。 我看了一下我以前的代码,好像不能在<html:radio中嵌套使用标签了。 谢谢了...再等一下....除了不用在<html:radio/>中用嵌套标签,但我想把t对象中的selectID值,做为标签的值,有什么方法可以实现..就是说<html:radio property="selectID" value="<%=t.getSelectID()%>" />这个语句完全用标签来实现,怎么实现,因为我不希望我的任何页面上出现"<%%>"符号!!!我想应该可以实现的... <input type="radio" value='<bean:write....... <html:radio property="selectID" value="1" />这是写死了的, 按照你说的,只能自己写标签来实现。struts的标签是不支持嵌套的。 ssh2 如何判断保存是否成功 动态代理 java 调用.net Webservice 返回值问题 弱弱的问下 如何将JAVA 工程打成 .war 的包 。。。。 想开发个客户关系管理方面的系统,求前辈好的建议 如何在JNDI中存储jms受管的对象 请教高手,关于tomcat连接池的问题,困绕多日-_-|| tomcat4 +weblogic +oracle 时的问题 struts2实现文件下载的请求能异步提交吗? 求resteasy和spring整合的demo代码 关于weblogic部署的小问题 dtd or schma 在xml 里面到底有什么样的好处
<bean:define id="str" name="t" property="selectID"/>
<html:radio property="selectID" value="<%=str%>"/>
我的意思是<html:radio property="selectID" value="????"/>这个语句的问号处,能不能用标签替换!郁闷中...................................................
除了不用在<html:radio/>中用嵌套标签,但我想把t对象中的selectID值,做为标签的值,有什么方法可以实现..就是说
<html:radio property="selectID" value="<%=t.getSelectID()%>" />
这个语句完全用标签来实现,怎么实现,因为我不希望我的任何页面上出现"<%%>"符号!!!我想应该可以实现的...
这是写死了的,