阅读背景:

JSP脚本连接数据库

来源:互联网 

入门

简单的jsp文件

<%--
  Created by IntelliJ IDEA.
  User: e550
  Date: 2017/1/9
  Time: 23:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" import="java.util.*" language="java" %>

<html>
<head>
    <title>欢迎</title>
</head>
<body>
欢迎学习Java web知识!
现在的时间是:
<%out.println(new java.util.Date());%>
</body>
</html><%--
  Created by IntelliJ IDEA



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: