wood burning stoves*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 60748
    
  65

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
 
Similar Threads
Getting javascript error while closing ActiveXRecordset object
Can I pass JTextField as parameter?
How To Reference a Dynamic DOM Object From JS
Page buffering in JSP
setDynamicAttribute not being invoked