• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTTP POST maximum data size?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ...
 
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I can't beleive you just said that. Now I need to calm down with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic