Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes BEA/Weblogic and the fly likes request parameters received are null in weblogic 8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "request parameters received are null in weblogic 8.1" Watch "request parameters received are null in weblogic 8.1" New topic

request parameters received are null in weblogic 8.1

Lalita Sattavat

Joined: May 31, 2004
Posts: 10
The App server in use in Weblogic 8.1 and we encounter the following problem: After performing few activities on the server .. wait for 20 seconds and now click on any link on the jsp. All the request parameters are null. else otherwise the application works fine. Also the same behavior is not reproduceable on Weblogic 7.2

After disabling the keepalives for http in the weblogic server the problem got fixed.

Can somebody explain why this behavior. What is it that keepAlives does internally?
Rishi Tandon

Joined: Oct 23, 2002
Posts: 17
Check the default session timeout set for the Web App.

Rishi Tandon<br />SCJP 1.2<br />SCBCD
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63544

Moving to the Weblogic forum.

[Asking smart questions] [About Bear] [Books by Bear]
andy armstrong
Ranch Hand

Joined: May 14, 2002
Posts: 154
Change in servlet spec since 6.1..
Due to a change in the JSP specification, null request attributes now return the string "null" instead of an empty string. WebLogic <> Server versions since 6.1 contain a new flag in weblogic.xml called printNulls which is true by default, meaning that returning "null" is the default. Setting printNulls to false ensures that expressions with "null" results are printed as an empty string, not the string "null."
An example of configuring the printNulls element in weblogic.xml:


Certifications: <br />scp2, scea, scwcd, WL7.0, CISSP, XML
It is sorta covered in the JavaRanch Style Guide.
subject: request parameters received are null in weblogic 8.1
It's not a secret anymore!