var url="message.do?currentPage=1";alert(url);document.location=url;}function gotoLast(){var totalPage=parseInt(MessageForm.totalPage.value);var url="message.do?currentPage="+totalPage;alert(url);document.location=url;}</Script><body><html:form name="MessageForm" action="/message.do" type="com.ecc.struts.message.formbean.MessageForm" scope="request"><html:text property="currentPage"/></br><html:text property="totalPage"/></br></html:form><table><tr> <td><input value="top" type="button" onclick="gotoTop();"><td><input value="prev" type="button" onclick="gotoPrev();"><td><input value="next" type="button" onclick="gotoNext();"><td><input value="last" type="button" onclick="gotoLast();"></tr></table><table border=''''1''''><logic:present name="MessageForm" scope="request"> <logic:iterate id="meisaiList" name="MessageForm" property="meisai" scope="request"> <tr> <td> <bean:write name="meisaiList" property="label_1" /> </td> <td> <bean:write name="meisaiList" property="label_2" /> </td> <td> <bean:write name="meisaiList" property="label_3" /> </td> </tr> </logic:iterate> </logic:present></table></body></html>
上一页 [1] [2] [3]
Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved. 闵涛 E_mail:admin@mintao.net(欢迎提供学习资源)
鄂公网安备 42011102001154号
站长:MinTao ICP备案号:鄂ICP备11006601号-18