赞
踩
- String path = request.getContextPath();
- String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
取值解释:
request.getScheme()==httprequest.getContextPath()==/HibernateTest
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。