- <%
- String path = request.getContextPath();
- String basePath = request.getScheme() + "://"
- + request.getServerName() + ":" + request.getServerPort()
- + path + "/";
- %>
jsp获取web项目的根路径
猜你喜欢
转载自blog.csdn.net/qq_35023116/article/details/79414201
今日推荐
周排行