I am calling a servlet with params
window.location.href = "/csm/csminfo.jsp?CFG_ID="+cfgid+"&path="+path;
In the other csminfo on body load i am calling a function to retrieve these params
<body onload="getConfigDetails(<%= request.getParameter("CFG_ID") %>,<%= request.getParameter("path") %>)">
JS
function getConfigDetails(cfgid,path)
{
alert(cfgid+","+path);
}
But no alert gets popped up, what is the problem here?
I am using firefox, using error console i got this error
