Hi,
Here is the issue:
I am using JSTL tag to populate the html:select
<html
ption value="">Select partner</html
ption>
<c:forEach items="${abc}" var="p">
<html
ption value="${p.id}" >${p.name}</html
ption>
</c:forEach>
</html:select>
where is abc is a list.
this is working fine.
now the issue is in another Edit page I am using the same above code and I need to pre select the option which user has selected in Add page.
The id above is stored in another bean which is accessible in the same jsp....but some how i am not getting the idea to combine the value from bean and jstl tag to pre select the option.
Please help if some body know the solution or have any idea....
Thanks,
Ankur