|
|
Ori-Deli's market offers a wide variety of imported goods from the Netherlands,
Indonesia and their neighbors. See our entire price list, or browse the categories below.
<%
try {
// The newInstance() call is a work around for some broken Java implementations
Class.forName("org.gjt.mm.mysql.Driver");
}
catch (Exception E) {
%> <%= "Unable to load JDBC driver" %>
<% }
try {
// Open MySQL JDBC Connection
Connection Conn = DriverManager.getConnection(
"jdbc:mysql://sqlc40.carrierzone.com/orideli?user=orideli&password=orideli");
// Do something with the Connection
Statement Stmt = Conn.createStatement();
ResultSet RS = Stmt.executeQuery("select catId, catName from Category where status = 2 order by sortOrder");
// Return results to the HTML page
while (RS.next()) {
String catId = RS.getString(1);
String catName = RS.getString(2);
%>
><%= catName %>
<% }
// Clean up after ourselves
RS.close();
Stmt.close();
Conn.close();
}
catch (SQLException E) {
%> <%= "SQLException: " + E.getMessage() %>
<%= "SQLState: " + E.getSQLState() %>
<%= "VendorError: " + E.getErrorCode() %>
<% }
%>
|
|

Stop by our store to see our unique Indonesian craft items.
|
| |
|