<%@ page import="java.util.Date" %><%--
Created by IntelliJ IDEA.
User: zhupengcheng
Date: 2020/1/16
Time: 11:06
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>$Title$</title>
</head>
<body bgcolor="#f0ffff">
<%
String str = "welcome";
for(int i =0;i<str.length();i++){
%>
<font SIZE=<%= i%>>
<%
out.println(str.charAt(i));
%>
</font>
<%
}
%>
</body>
</html>
Renderings: