%@ page language="java" import="java.util.*, java.sql.*, DBConnection2" %> <% // Prevent the browser from cacheing this page response.setHeader ("expires","-1"); DBConnection2 dbconn = null; int count = 1; try { dbconn = new DBConnection2(); }catch (Exception e) { System.out.println("Error getting DB Connection"); } ResultSet rs = dbconn.executeQuery("select * from ITEM where ITEM_TYPE = 'B'" ); %>
<%= count++ %>. | <%= title.trim() %> | |
by <%= author.trim() %> | <%= desc.trim() %>
Our Price: $<%=price.trim() %> |