js下载连接
文件 · master · mirrors / davidshimjs / qrcodejs · GitCode
代码如下
<%--
Created by IntelliJ IDEA.
User: sha24062
Date: 2023/8/4
Time: 10:59
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<script type="text/javascript" src="jquery.min.js"></script> <!--引入jquery-->
<script type="text/javascript" src="qrcode.js"></script>
<title>Title</title>
</head>
<body>
<div id="qrcode" style="width:100px; height:100px; margin-top:15px;"></div>
<script type="text/javascript">
new QRCode(document.getElementById("qrcode"), "http://localhost:8080/javaweb3_war_exploded/down.jsp");
</script>
</body>
</html>