I have a Javascript function, that calls window.location.href
Below is the sample example of code.
function xyz () {
var URL = "https://www.web.com/getNode.jsp?param1=abc|def|ghi|.......";
window.location.href = URL;
}
Here param1 can accept any nunmber of values. But the problem is if the size of "URL" var is more than 3000 characters, encountering an exception like
500 Internal Server Error.
But my requirement is to pass all the param1 values to the JSP no matter how long param1 is.
Is there any way to solve this Problem?
Can any one please help.
Thanks.
GETrequests size is limited. To send data unlimited, usePOSTrequest