%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> <%@ include file="Connections/cicero.jsp" %> <% Driver DriverNAuebersicht = (Driver)Class.forName(MM_cicero_DRIVER).newInstance(); Connection ConnNAuebersicht = DriverManager.getConnection(MM_cicero_STRING,MM_cicero_USERNAME,MM_cicero_PASSWORD); PreparedStatement StatementNAuebersicht = ConnNAuebersicht.prepareStatement("SELECT NEWSNR, TITEL FROM dbo.NEWS ORDER BY Newsnr Desc, DATE Desc"); ResultSet NAuebersicht = StatementNAuebersicht.executeQuery(); boolean NAuebersicht_isEmpty = !NAuebersicht.next(); boolean NAuebersicht_hasData = !NAuebersicht_isEmpty; Object NAuebersicht_data; int NAuebersicht_numRows = 0; %> <% int Repeat1__numRows = 7; int Repeat1__index = 0; NAuebersicht_numRows += Repeat1__numRows; %>
|
|