> > ... i need to use AJAX because  the servlet called is appended with input
> > parameters that contains 10000 to 50000 charectars and when i directly call
> > the servlet  instead of making ajax call the url is not completely formed
> > and the servlet is not invoked.
>
> You can change your form method attribute to post and you would not
> have the too long url problem.
>
> <form method='post' ...>

jQuery Lover is correct, you must use a POST request. GET requests are
limited to 1KB.  But don't use ajax.  POST a form like this:

<form method="POST" target="_blank">
   // form contents here
</form>

You can build the form dynamically and submit it via script.

Mike

Reply via email to