Search our database

Archive | JSP RSS feed for this section
Viewing 1 item

Example for JSP MySQL connection

 JavaServer Pages (JSP) is a Java standard technology that enables you to write dynamic, data-driven pages for your Java web applications.  Below is the example of  MySQL database access using JSP. <br />&lt;%@ page import = "java.sql.*"%&gt;Obtaining a Connection     &lt;% Connection conn=null; ResultSet result=null; Statement stmt=null; ResultSetMetaData rsmd=null; try { Class c=Class.forName("com.mysql.jdbc.Driver"); } […]