jsp直接获取项目本地路径,后台直接跳转页面

${pageScope.basePath}相当于pageContext.getAttribute(basePath)获取路径 可以访问存在于WEB-INFO底下的页面文件 <%@ page language="java" contentType="text/html; charset=UTF-8"pageEncoding="UTF-8"%><% String path = request.getC
相关文章
相关标签/搜索