存到數(shù)據(jù)庫中的數(shù)據(jù)中文亂碼
Students s1 = new Students("s0000000","張三豐","男",new Date(),"武當(dāng)山");
Students s2 = new Students("s0000001","張三豐1","男",new Date(),"武當(dāng)山1");
Students s3 = new Students("s0000002","張三豐2","男",new Date(),"武當(dāng)山2");
Students s4 = new Students("s0000003","張三豐3","女",new Date(),"武當(dāng)山3");
求解
2016-12-11
web.xml里面加個過濾器就不會出現(xiàn)中文亂碼問題呢
2016-01-19
需要講數(shù)據(jù)庫的編碼格式修改為UTF-8的模式,百度一下吧