Status标签怎么在jsp页面循环数据
request.setAttribute("bookTypeList",bookTypeList);把值传到jsp页面后怎么用Status标签循环出来...
request.setAttribute("bookTypeList", bookTypeList);
把值传到jsp页面后怎么用Status标签循环出来 展开
把值传到jsp页面后怎么用Status标签循环出来 展开
1个回答
2013-08-30
展开全部
struts 有个便利的标签
<logic:iterate id= "qual " name= "xxxForm " indexId= "index " property= "list " type= "cn.com.xx.XBean " scope= "request ">
<input type= "text " name= "xxDate " id= "acqDate <bean:write name= "index "/> " value= " <bean:write name= "xx " property= "xxDate " /> " readonly= "true " />
</logic:iterate>
<logic:iterate id= "qual " name= "xxxForm " indexId= "index " property= "list " type= "cn.com.xx.XBean " scope= "request ">
<input type= "text " name= "xxDate " id= "acqDate <bean:write name= "index "/> " value= " <bean:write name= "xx " property= "xxDate " /> " readonly= "true " />
</logic:iterate>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询