<%@ 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">

<%@ page buffer="1kb" autoFlush="true" %>

//autoFlush가 false로하면 오버플로우 예외가 발생한다.

<html>

<head>

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

<title>Insert title here</title>

</head>

<body>

<%

for (int i = 0; i < 1000; i++) {

%>

1234

<%

}

%>


</body>

</html>


true - 버퍼가 다 찼을 경우 버퍼를 플러시하고 계속해서 작업을 진행한다.

false - 버퍼가 다 찼을 경우 예외를 발생시키고 작업을 중지한다.

'JAVA > JSP' 카테고리의 다른 글

JSP 내장객체 response  (0) 2015.08.13
JSP 내장객체 request  (0) 2015.08.13
JSP 구구단예제  (0) 2015.08.12
JSP Forward,Param  (0) 2015.08.12
JSP 액션 Include,param  (0) 2015.08.12
블로그 이미지

왕왕왕왕

,