• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Upload file warning?

 
A Harry
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

thanks

harry
[ March 09, 2006: Message edited by: A Harry ]
 
Varun Narang
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
Regards,
Varun Narang.
 
A Harry
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!)

Cheers

harry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic