We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,473 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

method POST size url

Hi all,

I want to send big amounts of data, like a very big text with 3 Mb from an iframe to a database. For this I send the text from javascript side to JSP and from here to MySQL.

When the text is big like this the text is not sentm the send method doesn't seem to work. What is the limit size? Is there a way to go around it?

2
Contributors
3
Replies
3 Hours
Discussion Span
1 Year Ago
Last Updated
4
Views
softDeveloper
Junior Poster in Training
76 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

It depends on the web server you are using. For IIS I believe the default is 4MB, for Apache I believe it is 2MB. Not sure about others.

Also, yes you can increase the size.

stbuchok
Practically a Posting Shark
876 posts since May 2011
Reputation Points: 138
Solved Threads: 124
Skill Endorsements: 2

Hi thanks, and how can I increase it?

softDeveloper
Junior Poster in Training
76 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I think I'm not doing something right. Because I'm sending the contents of an iframe about 60kb and the send fails:


var url="replaceText4.jsp";
url=url+"versao="+version+"&work="+actualWork+"&secName="+secName+"&text="+text;


xmlHttp.open("POST",url,true);
xmlHttp.send(url);

I want to send the text that comes from an iframe, and when it is too big it fails.. I'm sending these parameters to a jsp where I get the by request.getParameter(...)

softDeveloper
Junior Poster in Training
76 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0611 seconds using 2.73MB