<%@ page language="java" import="java.sql.*" %>

Yay!


Here’s a list of nominations we’ve received. Feel free to browse through it and don’t forget to vote for your team!

Your “Thank You” posts and clicks count as votes. And that’s how you show your support for the Sysadmin teams.

Make sure you share the nominations with your colleagues and help your SysAdmins win.

<% ResultSet rst = null; Statement stmt=null; Connection conn = null; String url = "jdbc:mysql://localhost:3306/"; String dbName = "sdp_campaign"; String driver = "com.mysql.jdbc.Driver"; String userName = "root"; String password = ""; try { Class.forName(driver).newInstance(); conn = DriverManager.getConnection(url+dbName,userName,password); System.out.println("Connected to the database"); } catch (Exception e) { e.printStackTrace(); } stmt = conn.createStatement(); rst = stmt.executeQuery("SELECT * FROM user_details"); %> <% while(rst.next()){ %> "> <% } rst.close(); stmt.close(); conn.close(); %>
Company Name
<%=rst.getString("company") %>

© 2012 ZOHO Corp. All rights reserved. Home | Stories | Prizes | About