glow假名歌词:在bean中如何获得webroot路径
来源:百度文库 编辑:高考问答 时间:2024/07/01 11:12:34
在bean中如何获得webroot路径
很急啊!
很急啊!
private String serverRootPath;
public void setServerRootPath(String serverRootPath){
this.serverRootPath = serverRootPath;
}
JSP中取得WebRoot路径是request.getContextPath();