You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.5 KiB

<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'TureShow.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<center>
<table width="50%">
<tr>
<td colspan="3" bgcolor="#46A3FF">
ÍÆ½éÉÌÆ·
</td>
</tr>
<tr>
<c:forEach items="${list}" var="gg">
<td>
<table>
<tr>
<td> ${gg.gname}</td>
</tr>
<tr>
<td><a href="servlet/ShowServlet?gid=${gg.gid}"><img src="${gg.gspic}"></a></td>
</tr>
<tr>
<td> ${gg.gprice}
<form action="servlet/CartServlet?op=add&gid=${gg.gid }" method="post">
<input type="submit" value="¼ÓÈ빺Îï³µ">
</form>
</tr>
</table>
</td>
</c:forEach>
</tr>
</table>
</center>
</body>
</html>