jsp的request对象的getScheme和getProtocol有什么区别

更新时间:02-06 教程 由 曼雁 分享

jsp的request对象的getScheme和getProtocol有什么区别?

getProtocol

获取客户端向服务器端传送数据所依据的协议名称。

getScheme

可以返回当前页面使用的协议,http 或是 https

声明:关于《jsp的request对象的getScheme和getProtocol有什么区别》以上内容仅供参考,若您的权利被侵害,请联系13825271@qq.com
本文网址:http://www.25820.com/tutorial/14_2194468.html