1.AJAX html 传输json字符串: js方法如下: function saveRetYwlsh(){ var xmbh = document.getElementById("xmbh2").value; var spsxid = document.getElementById("zxsxid").value; var zjckYwlsh = $("input[name='jcxx.ywlsh']").val(); $.ajax({ ty
public class StringDemo{ public static void main(String args[]){ String str ="12343264sd6223"; if (isNumber(str)){ System.out.println("字符串由数字组成!"); } else { System.out.println("字符串由非数字组成!"); } } public static boolean isNumber