Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to send large content with Prototype.js using Ajax

 
kaderjan wushouer
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all:
I have a case here that is. I

function fnSendMsg(){
var contact_info=document.getElementById("txtMsg").value;
var p="&contact="+ contact_info;
var callback=processSendMsg;
new Ajax.Request("Updater",{method: "post",parameters ,onComplete:callback});
}

this code work fine if the size of txtMsg object 's content is not big. but if size of txtMsg object 's content is large like 1000. it won't work. servlet can not recieve it..

so any friend has solution for this?

thanks,I am waiting..
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64972
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kaderjan wushouer:
I am waiting..

Not the best thing you could have written.

Please read this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic