jsp项目路径

<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+
            ":"+request.getServerPort()+path+"/";
%>

url:<%=basePath%><%=path%>+"member_add"
posted @ 2021-01-05 11:30  梦已然清空  阅读(54)  评论(0编辑  收藏  举报