if (rs != null){ while(rs.next()){ state_name = rs.getString("state_name"); event_name = rs.getString("event_name"); event_desp = rs.getString("event_desp"); event_start = rs.getString("event_start"); state_plc = rs.getString("state_plc"); } if (rs == null) { please try again } The reseult "please try again" cannot be display... it only display a blank page..
Dan Drillich
Ranch Hand
Joined: Jul 09, 2001
Posts: 1123
posted
0
Hi City Guy, Are we speaking about Servlet code or JSP? If it's a servlet, please replace - please try againwith out.println("please try again"); Cheers, Dan
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Watch your braces... you missed one... (the second if statement is always false)
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
"City Guy" your name doesn't agree with the javaranch guidelines. please take a moment and re-register after reviewing the guidelines at http://www.javaranch.com/name.jsp please note fictious names donot qualify.... thanks for your cooperation. - satya