my dog learned polymorphism
The moose likes Struts and the fly likes Upload file warning? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Upload file warning?" Watch "Upload file warning?" New topic

Upload file warning?

A Harry
Ranch Hand

Joined: Jan 23, 2002
Posts: 124
I'm trying to upload a file from the browser to the server, which by the way works fine, BUT the only problem is I keep getting this warning -

"<09-Mar-2006 16:28:47 o'clock GMT> <Warning> <HTTP> <BEA-101138> <ServletContext(id=618926,name=PRDWeb,context-path=/PRDWeb) One of the getParameter family of methods called after reading from the ServletInputStream. Not merging post parameters.> "

Trolling the net it seems this is quite a common problem but no one seems to know the answer other than assuming that request.getInputStream() is being called - well I'm not & have absolutely no idea why this is happening!

Setup the example upload app that come's with Struts & I still get the same warning - surely not normal?

Can anyone help please?


[ March 09, 2006: Message edited by: A Harry ]
Varun Narang
Ranch Hand

Joined: Nov 19, 2004
Posts: 30
I am also working on a project, in which I need to upload the file from client-end to server, and that too in the database. And for that, I am using FormFile object, and it's working quite fine. I didn't face any problem. You can also try doing same with "org.apache.struts.upload.FormFile". May be that can help.
Varun Narang.

Your computer system is like AC, it's of no use when you open Windows ;)
A Harry
Ranch Hand

Joined: Jan 23, 2002
Posts: 124
Hi Varun, the upload work's fine, it's just this warning that keeps coming up.

As I said before I setup the example "upload" app that comes with struts & exactly the same thing happens!

I running on Weblogic 8.1 (sp3), if I deploy it to Tomcat 5 the warning does not happen - maybe it's specific to weblogic?

Doesn't seem to be anyway to stop it so I'm just trying to determine if it can safely be ignored (not the best way I admit but so much time lost messing about with it!)


I agree. Here's the link:
subject: Upload file warning?
It's not a secret anymore!