Code change from Struts-tag to JSP - el

can anyone help me in converting the following var declaration code in struts-taglibs into JSp-el (using <c:set> i suppose)...

for some reasons i'd to change my code from taglibs to el as there are certain stuff which iam unable to do in taglibs esp. string concatenation for eg ( desc = desc + "something")

<bean:define id="desc">

<b><bean:write name="map" property="siteType"/>:</b><a href='http://147.147.2.91:7001/pfk-deploy/sitehomepage.do?site=<bean:write name="map" property="siteID"/>'><bean:write name="map" property="plantID"/> </a>

<b>Address:</b> <small><bean:write name="map" property="address"/></small>

<b>East, North:</b> <bean:write name="map" property="x_East"/> ,<bean:write name="map" property="y_North"/>

<b>Long, Lat:</b><bean:write name="map" property="xLong"/>,<bean:write name="map" property="yLat"/>

</bean:define>

thanks .

[1045 byte] By [Nidhi@BTa] at [2007-10-3 2:01:06]
# 1

Surely you just change the <bean:define> tag to a <c:set var="desc">

The rest remains the same, though you could rewrite that link as

<html:link action="/sitehomepage" paramId="site" paramName="map" paramProperty="siteID">

<bean:write name="map" property="plantID"/>

</html:link>

evnafetsa at 2007-7-14 18:59:49 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...