获取地址
path=====/struct2-crud
basePath=====http://localhost:8080/struct2-crud/
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
获取地址
path=====/struct2-crud
basePath=====http://localhost:8080/struct2-crud/
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>