| Author |
Not merging post parameters
|
siva ram
Greenhorn
Joined: Nov 10, 2005
Posts: 4
|
|
Hi, Please note that I am facing some issues in my application. From the weblogic log files, the following is the warning. ####<Nov 16, 2005 11:40:45 AM GMT> <Warning> <HTTP> <host> <myserver1> <ExecuteThread: '5' for queue: 'default'> <kernel identity> <> <101 138> <ServletContext(id=3545093,name=MyWebApp.war,context-path=/myContext) One of the getParameter family of methods called after reading fr om the ServletInputStream, not merging post parameters> This warning is occuring continuously I guess the parameters posted are not retrieved properly. Due to this when the parameters are made use of , we get exceptions. I will be greatful if any assistance is provided in the matter. Thanks in advance. siva
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Are you actually calling request.getInputStream? I don't think you can call both getInputStream and use getProperty with the same request. Many servlet engines delay the parsing of th input stream until it's actually going to be used (when someone calles getProperty) becuase parsing it can be expensive. See if you're trying to do both with the same request. You'll probably need to restructure your code to do one or the other.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
"siva r", There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it. In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Thanks! bear Forum Bartender
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
siva ram
Greenhorn
Joined: Nov 10, 2005
Posts: 4
|
|
Hi, Please note that I am not using request.getInputStream or request.getParameter. Actually we are using a struts application. We are only getting the session from the request. HttpSession ses=req.getSession(false); Regards siva
|
 |
 |
|
|
subject: Not merging post parameters
|
|
|