WEB/JSP

[JSP] ch03-01. FOR문

밍글링글링 2017. 11. 13.
728x90

3-1. FOR문

 

out.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
    for(int i=0; i<10; i++){
        out.println(i + "<br>");
    }
%>

 

 

728x90

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

[JSP] ch03-04. Redirect Login  (0) 2017.11.13
[JSP] ch03-02. Request  (0) 2017.11.13
[JSP] ch02-08. Include2  (0) 2017.11.13
[JSP] ch02-07. Include  (0) 2017.11.13
[JSP] ch02-06. Target  (0) 2017.11.09

댓글