<%@ 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>3 2 1 </title>

</head>

<body>

<%

int i;

String startNum[]=new String[3];

startNum[0]="1.png";

startNum[1]="2.png";

startNum[2]="3.png";

for(i=0; i<3; i++){

try{

Thread.sleep(1000);

%>

<table>

<tr>

<td>

<img src="image/<%=startNum[i]%>" width="400" height="200">

</td>

</tr>

</table>

<%

}

catch(Exception e){

out.println(e.getMessage());

}

} %>

</body>

</html>



1초 간격으로 1 2 3 나오게 하고픈데 걍 바로 123 찍혀서 나오네요

쓰레드 생성해서 해야하나요?