jsp页面:
$.ajax({
type: "POST",
url: url, //代码数据
async:false,
data:{"id":id,"flowsta":flowsta,"username":username},
error:function(){
parent.$.jBox.tip("与数据库连接失败!", 'info');
},
success:function() {
parent.$.jBox.tip("操作成功!", 'info');
reloadNotPage();
}
});
action:
String username=req.getParameter("username");
username=new String(username.getBytes("iso-8859-1"),"UTF-8");
还是乱码这个怎么处理。,。。