<body bgcolor= "#ffffff" >
<jsp:usebean id= "DataConnection" class= "aliang_org". DataConn "scope=" page/>
<jsp:usebean id= "Getcounter" class= "aliang_org". GetCount "scope=" page/>
<table width= "100%" border= "1" cellpadding= "0" cellspacing= "0" >
<TR align= "center" bgcolor= "#00FFFF" >
<td>id Serial Number </td>
<td> User name </td>
<td> Password </td>
<td> Email </td>
<TD colspan= "2" > Operation options </td>
</tr>
<%
int nowpages;//Current Page
int pages;//Request Pages
int countperpage = 10; Show number of bars per page
int pagecount;//Total Pages
int recordCount = Getcounter.getcounter (); RecordCount as total record number
PageCount = (int) Math.ceil ((RecordCount + countPerPage-1)/countperpage);//Work out the total number of pages
Also, don't forget to install the SQL-JDBC driver and copy the C:\Program Files\Microsoft SQL Server Driver for jdbc\lib folder under Web-inf under the Web directory.
Recently began to engage in Java, but also invited you to enlighten email:webmaster@aliang.org prawns, hehe
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service