public static void close (ResultSet rs, PreparedStatement pst,
			Connection conn) {
		try {
			if (rs != null)
				rs.close();
		} catch (SQLException e) {
			e.printStackTrace();
		}finally{
			try {
				if(pst!=null)
					pst.close();
			}catch (SQLException e) {
				e.printStackTrace();
			}finally{
				try{
					if(conn!=null)
						conn.close();
				}catch(SQLException e){
					e.printStackTrace();
					}
			}
		}
	}