JavaWeb-jsp-19课-JSP语法-2023-04-08
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>$Title$</title>
</head>
<body>
<%-- 注释 JSP 带百分号--%>
<%= new java.util.Date()%>
<hr>
<%
int sum =0;
for (int i = 0; i <= 5; i++) {
%>
<h1> hello new world ! <%=i%> </h1>
<%
}
%>
</body>
</html>