%@page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*"%> <%@ include file="../../../Connections/cicero.jsp" %> <% String lexikon__MMColParam = "1"; if (request.getParameter("id") !=null) {lexikon__MMColParam = (String)request.getParameter("id");} %> <% Driver Driverlexikon = (Driver)Class.forName(MM_cicero_DRIVER).newInstance(); Connection Connlexikon = DriverManager.getConnection(MM_cicero_STRING,MM_cicero_USERNAME,MM_cicero_PASSWORD); PreparedStatement Statementlexikon = Connlexikon.prepareStatement("SELECT titel, artikel, quelle, lexnr, datum FROM dbo.lexikon WHERE lexnr = " + lexikon__MMColParam + ""); ResultSet lexikon = Statementlexikon.executeQuery(); boolean lexikon_isEmpty = !lexikon.next(); boolean lexikon_hasData = !lexikon_isEmpty; Object lexikon_data; int lexikon_numRows = 0; %>
<% lexikon.close(); Connlexikon.close(); %>