<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page import="com.goldfarm.hermei.*"%> <%@page import="com.goldfarm.db.QueryBean"%> <%@page import="java.util.*"%> <%@page import="java.text.*"%> Insert title here <% QueryBean QB = new QueryBean(); QueryBean QB1 = new QueryBean(); String img_url = "http://" + request.getHeader("Host") + request.getContextPath()+"/upload/"; String id = request.getParameter("id")!=null ? request.getParameter("id"):""; QB.setTable("SELECT g_id, g_name, g_feature, g_efeature, g_life, g_temp, g_capa, g_volt, g_color, g_ecolor, g_img, g_pdf FROM her_goods WHERE g_id = '"+id+"' "); %>
<%=QB.getData()[0][1] %>

特性
FEATURES
<%=QB.getData()[0][2] %>
<%=QB.getData()[0][3] %>
壽命時間
LOAD LIFE(Hrs)
<%=QB.getData()[0][4] %>
使用溫度範圍
<%=QB.getData()[0][5] %>
靜電容量
CAPACITANCE(μF)
<%=QB.getData()[0][6] %>
電壓範圍
<%=QB.getData()[0][7] %>
膠管顏色
SLEEVE COLOR
<%=QB.getData()[0][8] %>
<%=QB.getData()[0][9] %>
<% QB1.setTable("SELECT g_id, pic_id, pic_desc, pic_img FROM her_goods_pic WHERE g_id = '"+id+"' ORDER BY createdate ASC "); %>
<%if(QB1.getData().length>0){ for(int a = 0; a < QB1.getData().length; a++){ %>
<%=QB1.getData()[a][2] %>
<%}} %>