This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 63202
    
  69

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to send large content with Prototype.js using Ajax
 
It's not a secret anymore!