关于JavaWeb JSP的一些总结
目录
JSP脚本元素
jsp代码段
代码段示例
<%--
Created by IntelliJ IDEA.
User: 90451
Date: 2022/4/20
Time: 9:57
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>JSP--Scriptlets</title>
</head>
<body>
<%
int a =3,b=4;
out.print(a+b);
%>
</body>
</html>
结果展示