taglib - Struts 1.x tags usage question -
i have jsp page tags:
<logic:iterate id="var" ... .... <bean:write name="var" property="p1" ... etc.
and need, on each iteration, generate href composed various bean's properties. need urlencode of them link works.
something like
<logic:iterate id="var" ... .... <html:link action="otheraction.do?_x_ <bean:write name="var" property="p1" ... etc
where x generated collecting bean's properties; like
string x="p1="+urlencode(p1)+"&p2="+simpledateformatof(p2)+"&p3="+p3;
how can ?
thanks in advance.
better make 1 pojo class.
1. assign values object in action being called before jsp page comes in picture.
2. keep object of pojo request attribute.
3. value request attribtue on jsp using <bean:write>
tag.
Comments
Post a Comment