社区
Web 开发
帖子详情
getPathTranslated()总是返回null
xicheng_my_love
2006-05-15 12:50:51
我在项目的index.jsp页面用request.getPathTranslated(),为什么总是返回为null?谢谢!
...全文
71
1
打赏
收藏
getPathTranslated()总是返回null
我在项目的index.jsp页面用request.getPathTranslated(),为什么总是返回为null?谢谢!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
jsp探针 ver0.1
if (freeSpace ==
null
|| freeSpace.length() == 0) { return -1; } process.destroy(); freeSpace = freeSpace.trim().replaceAll("\\\\", "\\/"); String[] results = freeSpace.split(" "); for (int i = ...
获取请求行的相关信息get
Path
Translate
d
get
Path
Translate
d
返回
servlet名字之后,查询之前的路径信息 request.get
Path
Translate
d() returns
null
if there is no extra
path
information after the pattern which lead to the mapped servlet and the ...
Servlet&jsp基础:第三部分
HttpServletRequest41 获取请求行的相关信息... 41 getMethod.... getRequestURI42 getQueryString....getContext
Path
....get
Path
Info....get
Path
Translate
d. 43 getServlet
Path
. 43 获取网络连接信息... 4...
Servlet规范之The Request
然而,为了向开发者表明,在这种情况下,客户端未能发送字符编码,容器会从getCharacterEncoding方法中
返回
null
。 如果客户端没有设置字符编码,而请求数据的编码与上述的默认编码不同,就会发生中断。为了补救这种...
request.getRequestURI() request.getRequestURL()
request.get
Path
Translate
d() =
null
request.getRemoteAddr() = 127.0.0.1 request.getRequestURI() = /hboys/ request.getScheme() = http request.getServerName() = 127.0.0.1 request.getServlet
Path
...
Web 开发
81,092
社区成员
341,716
社区内容
发帖
与我相关
我的任务
Web 开发
Java Web 开发
复制链接
扫一扫
分享
社区描述
Java Web 开发
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章