• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP POST maximum data size?

 
Kent Vanderwaal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have successfully deployed a J2EE servlet, developed under Tomcat, on a Websphere 4.0 server. I build a .war file using jar and build.xml, moved it over to the WAS 4.0 machine and installed it, it's fine, it works. Only problem is when we
POST, we send lots of data in the POST and it gets truncated.
We POST (a put method), the request has lots of data, it gets truncated. We POST (a get method), the response comes back with all data (from the database), no truncation.
Is there a size limit somewhere in the server's properties that I haven't found yet? Any ideas?
 
Kent Vanderwaal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found out that IBM HTTP Server is the culprit. If I go straight to Websphere through the port, it's not a problem.
 
Raj Varanasi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Did anybody found the problem with HTTP POST size limit.We are getting the same problem,POST data is getting truncated. Is it helps if we use Apache instead of IHS ??? Any help appreciated ...
 
Sean Sullivan
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to POST a FILE ?
Or just post some generic form data?
If you want to post a FILE to the server, your html should look like this:

<FORM ACTION="/servlet/MyServlet"<br /> ENCTYPE="multipart/form-data"<br /> METHOD=POST>
What is your name? <INPUT TYPE=TEXT NAME=submitter>

What file are you sending? <INPUT TYPE=FILE NAME=secretDocument>

<input type=hidden name="serviceClass" value="FoobarServiceMgr">
<input type="submit" value=Submit>

</FORM>
 
Joseph Magerramov
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try applying fixpac 4.0.3. That should solve the problem.
 
Raj Varanasi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are POST ing form data .When it reaches App Server POSTed data got corrupted and we are facing problems in the application.We will try applying th fixpack 4.0.3 .Thanks for the updates
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic