2
我有一个标签一个JSP页面:的Struts 1.x的标签使用问题
<logic:iterate id="var" ...
....
<bean:write name="var" property="p1" ...
etc.
我所需要的,在每次迭代,生成一个从各个bean的属性组成的HREF。我甚至需要URLEncode其中的一些,以便链接工作。
喜欢的东西
<logic:iterate id="var" ...
....
<html:link action="otheraction.do?_X_
<bean:write name="var" property="p1" ...
etc
其中通过收集bean的属性产生X;像
String X="p1="+URLEncode(p1)+"&p2="+SimpleDateFormatof(p2)+"&p3="+p3;
我该怎么做?
在此先感谢。
看起来像我会使用旧的jsp方式.... – xain 2010-12-03 16:49:01