<% String path = request.getContextPath(); String bassPath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; %> //使用方法: <link rel="stylesheet" href="<%=bassPath %>css/bootstrap.min.css">
时间: 2024-12-28 01:06:37