%@ page import="java.text.SimpleDateFormat" %> <%@ page import="java.util.*" %> <%@ include file="include/config.jsp" %> <% Statement sd = null; sd = connection.createStatement(); ResultSet r5 = sd.executeQuery("select * from product_master where id = 2"); double price = 0.00, total_amount=0.00, sh_price = 0.00; int period = 0; while(r5.next()) { price = r5.getDouble("price"); sh_price = r5.getDouble("sh_price"); total_amount = price+sh_price; } %>
| <%@ include file="header_sd_reg.jsp" %> | |||||||||||||||||
|