jsp直接獲取項目本地路徑,後臺直接跳轉頁面

${pageScope.basePath}相當於pageContext.getAttribute(basePath)獲取路徑 可以訪問存在於WEB-INFO底下的頁面文件 <%@ page language="java" contentType="text/html; charset=UTF-8"pageEncoding="UTF-8"%><% String path = request.getC
相關文章
相關標籤/搜索