using $.post has character limits?
I am using jquery $.post method to send a string to a servlet.

    var temp = "hsad d jad a....sad";
    var str="testServlet?param="+temp;
    $.post(str, function(data) {
        alert("saved");
    });

testServlet receives a call when the `temp` has less characters, say 5000. But when it has more no. of characters i.e. > 5000 it is not called. Firebug says 'Aborted'.
I could not understand why.

I thought that this might be because the above code is sending `temp` in the `get` form so I wrote like this -

    var temp = "hsad d jad a....sad";
    var str="testServlet";
    $.post(str, {param:temp}, function(data) {
        alert("saved");
    });

But in this case the servlet was called but param was null.<br />
1. Is there any difference between the above two methods ?<br />
2. If first method is get then why jquery has $.get ?
using $.post has character limits?
===

I am using jquery $.post method to send a string to a servlet.

    var temp = "hsad d jad a....sad";
    var str="testServlet?param="+temp;
    $.post(str, function(data) {
        alert("saved");
    });

testServlet receives a call when the `temp` has less characters, say 5000. But when it has more no. of characters i.e. > 5000 it is not called. Firebug says 'Aborted'.
I could not understand why.

I thought that this might be because the above code is sending `temp` in the `get` form so I wrote like this -

    var temp = "hsad d jad a....sad";
    var str="testServlet";
    $.post(str, {param:temp}, function(data) {
        alert("saved");
    });

But in this case the servlet was called but param was null.<br />
1. Is there any difference between the above two methods ?<br />
2. If first method is get then why jquery has $.get ?