wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes How to send large content with Prototype.js using Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to send large content with Prototype.js using Ajax" Watch "How to send large content with Prototype.js using Ajax" New topic
Author

How to send large content with Prototype.js using Ajax

kaderjan wushouer
Greenhorn

Joined: May 30, 2006
Posts: 8
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

Joined: Jan 10, 2002
Posts: 61222
    
  66

Originally posted by kaderjan wushouer:
I am waiting..

Not the best thing you could have written.

Please read this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to send large content with Prototype.js using Ajax