gbk

jsp request get的对象

request.getScheme() —— http
request.getServerName() —— localhost
request.getServerPort() —— 8080
request.getContextPath() —— /vote
request.getProtocol() —— HTTP/1.1
request.getRemoteAddr() —— 127.0.0.1
request.getRemoteHost() —— 127.0.0.1
request.getRemotePort() —— 1316
request.getRequestURI() —— /vote/test.jsp
request.getRequestURL() —— http://localhost:8080/vote/test.jsp
request.getServletPath() —— /test.jsp  

posted on 2008-06-10 14:34 百科 阅读(700) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航:
 

My Links

Blog Stats

常用链接

留言簿(2)

随笔档案

文章档案

搜索

最新评论

阅读排行榜

评论排行榜