会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
风起,唯有努力生存
不积跬步,无以至千里
博客园
首页
新随笔
联系
订阅
管理
2016年11月18日
获取当前页面关于地址的各项信息
摘要: 请求地址为:http://localhost:8080/Logistics/index.jsp 1.request.getScheme() 返回当前链接使用的协议名称,默认是http 结果:http 2.request.getServerName() 返回当前网站的域名(本地为:localhost)
阅读全文
posted @ 2016-11-18 09:08 ①乷壹迣鎅
阅读(145)
评论(0)
推荐(0)
编辑
公告