• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not merging post parameters

 
siva ram
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
siva ram
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic