In Websphere Application Server 6.1 , request.getQueryString() return null.
2008-07-24 16:17
501 查看
上午同事将在tomcat5.5测试过的代码提交到测试环境was6.1, 发现一些页面失效.
察看browser端源代码发现 request.getQueryString()返回null.
查到了几则资料, 今天不上班, 还没有时间去解决, 在这里记录一下.
1. PK17272: GETQUERYSTRING RETURNS A NULL VALUE WHEN SERVESERVLETSBYCLASSNAMEENABLED="TRUE"
2.Changes made to J2EE API HttpServletRequest.getQueryString()
3.Java Technologies for Web Services - Problem with request.getQueryString() in Websphere Application Server
解决办法(发扬拿来主义)
The null value is returned by request.getQueryString() is due to change
in requestdispatcher implementaion in servlet 2.4 specification. The error can by resolved by using
request.getAttribute("javax.servlet.forward.query_string") instead of
request.getQueryString() .
察看browser端源代码发现 request.getQueryString()返回null.
查到了几则资料, 今天不上班, 还没有时间去解决, 在这里记录一下.
1. PK17272: GETQUERYSTRING RETURNS A NULL VALUE WHEN SERVESERVLETSBYCLASSNAMEENABLED="TRUE"
2.Changes made to J2EE API HttpServletRequest.getQueryString()
3.Java Technologies for Web Services - Problem with request.getQueryString() in Websphere Application Server
解决办法(发扬拿来主义)
The null value is returned by request.getQueryString() is due to change
in requestdispatcher implementaion in servlet 2.4 specification. The error can by resolved by using
request.getAttribute("javax.servlet.forward.query_string") instead of
request.getQueryString() .
相关文章推荐
- httpServletRequest.getQueryString()返回null的异常 初学者错误
- ASP.NET页面传值汇总 (Session / Server.Transfer / Query String / Cookie / Application )
- IBM WebSphere Application Server V6.1 Fix Pack 29于2010.01.18发布
- request.getQueryString()
- 实例详解$_SERVER函数中QUERY_STRING和REQUEST_URI等四个变量区别
- ASP.NET中Get和Post的用法 Request.QueryString,Request.Form,Request.Params的区别 [转]
- $_SERVER函数中QUERY_STRING和REQUEST_URI等四个变量区别
- String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()作用
- string name = request.getParameter("name"); JAVA上传图片文件name返回空null解决办法
- [MVC] 获取请求时缺少"+"的处理办法 How to fix the bug that missing plus in Request.QueryString/Form
- request.getQueryString()是什么意思
- ASP.NET中Get和Post的用法 Request.QueryString,Request.Form,Request.Params的区别
- Server sent unexpected return value (403 Forbidden) in response to OPTIONS request for
- 关于C#中的Request.QueryString.get()获取不到值的问题
- WebSphere Application Server V6.1 安装
- 详解 $_SERVER 函数中QUERY_STRING和REQUEST_URI区别
- 探索 WebSphere Application Server V6.1 Portlet 容器,第 2 部分:进一步研究
- request.getParameter return null
- actionbarsherlock getSupportActionBar() return null in android4.0,but in 2.3.3 is ok
- 详解 $_SERVER 函数中QUERY_STRING和REQUEST_URI区别