<%@ page import="java.sql.*" %> <%@ page import="dbBean" %> Otala.Net Domains

Top Level Domains

This list excludes any sub-domains <% Statement stmt = db.getStatement(); // ResultSet rset = stmt.executeQuery("SELECT domain, contact FROM sites WHERE domain NOT LIKE '%.%.%' ORDER BY contact"); ResultSet rset = stmt.executeQuery("SELECT domain, contact FROM sites WHERE domain NOT LIKE '%.%.%' ORDER BY contact"); int Counter = 0; while (rset.next()) { out.print("\n"); Counter++; } %>
NameContact
" + rset.getString(1) + "" + rset.getString(2) + "

Total: <%= Counter %> Domains <% rset.close(); stmt.close(); %>