%@ page language="java" contentType="text/html; charset=SHIFT_JIS" pageEncoding="SHIFT_JIS" %> <%@ page import="java.util.*, java.text.*" %> <%@ page import="java.io.*" %> <% String stimestamp = request.getParameter("TIMESTAMP"); long now2 ; if (stimestamp == null || stimestamp.trim().length() == 0) { /* 現在時刻取得 */ Calendar now = Calendar.getInstance(); /* 現在時刻パート2を取得 */ now2 = Long.parseLong(new SimpleDateFormat("yyyyMMddHHmm").format(new Date())); }else{ now2 = Long.parseLong(stimestamp); } %> <% String id_ = request.getParameter("id"); String in_id_no_ = ""; String in_chumon_no_ = ""; String in_free1_ = ""; if (id_ == null) id_ = ""; if (!"".equals(id_)) { if ("A8".equals(id_)) { in_id_no_ = "N0003"; in_chumon_no_ = "N0003"; in_free1_ = "N0003"; } else if ("CL".equals(id_)) { in_id_no_ = "N0017"; in_chumon_no_ = "N0017"; in_free1_ = "N0017"; } else if ("JN".equals(id_)) { in_id_no_ = "N0018"; in_chumon_no_ = "N0018"; in_free1_ = "N0018"; } else if ("OV".equals(id_)) { in_id_no_ = "N0016"; in_chumon_no_ = "N0016"; in_free1_ = "N0016"; } else if ("TG".equals(id_)) { in_id_no_ = "N0013"; in_chumon_no_ = "N0013"; in_free1_ = "N0013"; } else if ("VC".equals(id_)) { in_id_no_ = "N0012"; in_chumon_no_ = "N0012"; in_free1_ = "N0012"; } } %>