Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- paint
- mybatis
- Eclips
- 메서드
- Java
- 전화걸기
- Menu
- Graphic
- 예외처리
- JSP
- struts2
- 안드로이드
- HTML
- oracle
- 이클립스
- 배열
- AWT
- 생성자
- 국제화
- 메소드
- Spring
- Android
- 오버로딩
- 어노테이션
- OGNL
- layout
- 기본
- 에러페이지
- 클래스
- JavaScript
Archives
- Today
- Total
note
autoFlush 설정(true,false) 본문
autoFlushFalse.jsp 실행화면
autoFlushTrue.jsp 실행화면
autoFlushFalse.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ page buffer="1kb" autoFlush="false"%>
<!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=UTF-8">
<title>autoFlush 속성값 false 예제</title>
</head>
<body>
<%
for (int i = 0; i < 1000; i++) {
%>
1234
<%
}
%>
</body>
</html>
autoFlushTrue.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ page buffer="1kb" autoFlush="true"%>
<!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=UTF-8">
<title>autoFlush 속성값 true 예제</title>
</head>
<body>
<%
for (int i = 0; i < 1000; i++) {
%>
1234
<%
}
%>
</body>
</html>
'JSP > 기본' 카테고리의 다른 글
| JSP 서버정보 출력, 로그 메세지 기록 (0) | 2012.02.06 |
|---|---|
| 배포 구조 (0) | 2012.02.06 |
| 리다이렉트(Redirect)를 이용해서 페이지 이동하기2 (0) | 2012.02.06 |
| JSP 리다이렉트(redirect)이용해서 페이지 이동하기 (0) | 2012.02.06 |
| JSP 헤더 목록 출력(Enumeration) (0) | 2012.02.06 |