<%@page contentType="text/html; charset=iso-8859-1" session="true" language="java" %> <%@ page import="java.util.*" %> <%@page import="java.sql.Connection" %> <%@page import="java.sql.PreparedStatement" %> <%@page import="java.sql.ResultSet" %> <%@page import="com.connection.*" %> <% HttpSession sesion = request.getSession(false); Object email = session.getAttribute("email"); Object password = session.getAttribute("password"); %> Poker Demo <% Random gen = new Random( System.currentTimeMillis() ); int r = gen.nextInt(); Connection c = null; AbstractConnector conn = new QogsDbConnector(); String marqueeTxt = ""; try{ c = conn.getConnection(); PreparedStatement ps = c.prepareStatement("SELECT data FROM Datamap WHERE itemId = 1 "); ResultSet rs = ps.executeQuery(); if(rs.next()){ marqueeTxt = rs.getString(1); } rs.close(); ps.close(); }catch(Exception e){ try { if(c != null){ c.rollback(); } } catch (Exception e1) { System.out.println("Database problems, contact tecnichal support."); } System.out.println(e.getMessage()); out.println("Database problems, contact tecnichal support."); } finally{ try { if(c != null){ c.close(); } } catch (Exception e) { System.err.println(e.getMessage()); } } %>
Atlantic West Poker

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player