<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- <meta http-equiv="refresh" content="1">-->
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
<script type="text/javascript">
</script>
</head>
<body>
<%
/* Date d=new Date();//取系统当前时间
out.print(d.toLocaleString()); */
/* int a = 10; */
%>
<%!
int xx=8888;
public int getMax(int a,int b){
return a>b?a:b;
}
%>
<%
/* int b=getMax(445,9);
out.print(b); */
/* out.print(getMax(300, 20)); */
%>
<%=getMax(234,33) %>
<%-- <%=a%> --%><!-- 相当于out.print(a) -->
<%-- --%>
</body>
</html>
web02
最新推荐文章于 2022-07-06 12:40:31 发布