new77.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>jsp开发模式</title>
</head>
<body>
<h3>这是一个单纯的jsp页面编程示例</h3>
<%
int i = 0;
int sum = 0;
for(i=1;i<=100;i++)
{
sum += i;
}
%>
1到100的和为:<%= sum %>
</body>
</html>