I am newbie in jquery. I would like to read Java properties file in my jsp page using javascript or jquery. I\'m goggling about it but not satisfied.
My applicatio
One shouldn't use scriptlets in JSP, you can easily do it using struts2 tags.
Change your Javascript in JSP as follows :
function checkedRadioForDelete(f) {
var chx = document.getElementsByTagName('input');
for ( var i = 0; i < chx.length; i++) {
if (chx[i].type == 'radio' && chx[i].checked) {
var con = confirm(" ");
if (con != true) {
} else {
f.action = "MyAction.action";
f.submit();
}
return true;
}
}
alert(" ");
return false;
}