Access your JSp page using fireFox browser ,then go to File-->Save Page As in the browser and save it in your local folder.In that folder you will get one folder and one .html file .You can share code of that html file
Thanks And Regards
Goutam Chowdhury (Scjp1.4 86%,SCWCD5 94%)
I am not talking about that js function, I am talking about the complete code that I have pasted. Where location.href is called with a query string, and the query string is retrieved in the page. Did you try that one?