%@ page import="java.sql.*,java.util.*,sun.net.smtp.SmtpClient, java.io.*,java.util.*" %>
<%@ include file="Common.jsp" %>
<%@ page errorPage="MyErrorPage.jsp" %>
<%
String chSQL="select * from link_categories";
String count="none";
String smessagesErr="";
String sSQL="";
java.sql.Connection conn = null;
java.sql.Statement stat = null;
String sErr = loadDriver();
conn = cn();
stat = conn.createStatement();
if ( ! sErr.equals("") ) {
try {
out.println(sErr);
}
catch (Exception e) {
out.println(e.toString());
// response.sendRedirect("links.jsp?message=There had been some problem while processing the request, please contact System Admin");
}
}
int action_result=0;
String link_cats="";
Vector v_cats = new Vector();
try {
java.sql.ResultSet rs = null;
rs = openrs( stat, chSQL);
while (rs.next())
{ count="yes";
link_cats=rs.getString(2);
v_cats.add(link_cats);
}//end while
if ( rs != null ) rs.close();
if ( stat != null ) stat.close();
if ( conn != null ) conn.close();
}//end try
catch(java.sql.SQLException e) {
smessagesErr = e.toString();
out.println(smessagesErr);
//response.sendRedirect("links.jsp?message=Links Could not be loaded successfully,please try again later"+smessagesErr);
}
%>
BizAngels | Investitii | Oportunitati | Antreprenori | Afaceri