<%@ page contentType="text/html; charset=euc-jp" %> <%@ page import = "java.util.*, java.io.*, java.text.*, java.sql.*" %> <% String id = request.getParameter("id"); String query = "SELECT category_id_1 FROM goods WHERE del is not true AND id = " + id; db.open(); ResultSet rs = db.select(query); String category = null; if (rs.next()) { category = rs.getString("category_id_1"); } else { category = "0"; } db.close(); %> 〜おいしさを全国へ〜いかりのショッピングサイト <body> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-4805887-1"); pageTracker._initData(); pageTracker._trackPageview(); </script> </body>