I am using struts. I have a req. in which i click on submit button i need to open an pop up show some values and close of that popup do some validations. I am using an modal dialog for doing that. I am doing this way
var check=window.showModalDialog("LoadPreSum.do?strSeqID=" +strSeqID+"&strNum="+strNum +"&strButton="+strButton,window.self, "dialogHeight:280px;dialogWidth:950px;status:no;scroll:no;help:no");
Here the problem is strNum can be any character. If strNum contains %,& etc, i am getting error and i am not able to get the exact values in action class. Can any one suggest a way to avoid this.
Thanks and Regards, Arul.
posted 10 years ago