<c:forEach items="${commonBtns}" var="btn">
<input type="button" value="${btn.fdName }" onclick="window.open('${KMSS_Parameter_ContextPath }${btn.fdUrl }?method=add&fdMainId=${param.fdId}&fdBusinessId=${gsmCertMainForm.fdBusinessId}&fdPactId=${gsmCertMainForm.fdPactId}&fdClientId=${gsmCertMainForm.fdClientId}&fdTemplateId=${btn.fdTemplateModelId }&fdTemplateName='+encodeURI('${btn.fdTemplateModelName }')+'&fdModelId=${param.fdId}&fdModelName=${modelName }&fdParentId=${param.fdId}')"/>
</c:forEach>
http://blog.csdn.net/zhejingyuan/article/details/17440969
jsp中的c标签,循环
commonBtns是你后台传递的list 用 getRequest().setAttribute("commonBtns", commonBtns);