<%@ page contentType="text/html; charset=gb2312" language="java" import="java.util.*" errorPage="" %> <html> <head> <title>JSP练习</title> </head> <body> <p>sin(0.9)= <%=Math.sin(0.9)%></p> <p>3的平方 = <%=Math.pow(3, 2)%></p> <p>12345679 * 72 = <%= 1234569 * 72%></p> <p>5的平方根 = <%=Math.sqrt(5)%></p> </body> </html>