| Letter Heading |
<%
String q1;
String qty=request.getParameter("qty");
if (qty!=null){
if (qty.equals("all")){
q1="select qty, price from lheading";
}else{
q1="select qty, price from lheading where qty='"+qty+"'";
}
ResultSet rs1=st.executeQuery(q1);
out.print("| Qty | Price | ");
while (rs1.next()){
out.print("| "+rs1.getString(1)+" | "+rs1.getString(2)+" | ");
}}
%>
|
|
|