<%@ page language="java" contentType="text/html; charset=EUC-KR"

    pageEncoding="EUC-KR"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">

<title>Insert title here</title>

</head>

<body>


<table border="1">

<%for(int i = 0; i<10; i++){ %>

  <tr>

  

  <%for(int x = 0;  x<10; x++){ %>

   <td>

    <%=i*10+x %>

   </td>

   

  <%} %>

  

 </tr>

<%} %>

</table>


동적으로 테이블 생성함
각 셀 클릭 시 alter문 서서 경고창 띄우고 싶은데 뭔 방법 써야대나여
(여담 <%for(int i = 0; i<10; i++){ %> 이거하고 <%for(int i = 0; i<10; i++) %>
                                                 <%{ %>
이거하고 차이없는거같은데 후자로하면 인식을 못하네 그래서 한참헤맴;)