木质纤维耐磨性:在bean中如何获得webroot路径
来源:百度文库 编辑:神马品牌网 时间:2024/05/14 09:18:49
在bean中如何获得webroot路径
很急啊!
很急啊!
private String serverRootPath;
public void setServerRootPath(String serverRootPath){
this.serverRootPath = serverRootPath;
}
JSP中取得WebRoot路径是request.getContextPath();