jsp basepath

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>">
  点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注