extjs传输乱码问题
前台代码beforeload:function(store,options){varwellringPanel_jhh_Id=Ext.getCmp('wellringPa...
前台代码
beforeload : function(store, options) {
var wellringPanel_jhh_Id = Ext.getCmp('wellringPanel_jhh_Id');
if (!Ext.isEmpty(wellringPanel_jhh_Id)) {
wellringPanel_jhh_Id = wellringPanel_jhh_Id.getValue();
}
var new_params = {
jhh : wellringPanel_jhh_Id
};
Ext.apply(store.proxy.extraParams, new_params);
}
后台接收代码:
jhh = ParamUtils.getParameter(request, "jhh");
中文就变成了乱码 展开
beforeload : function(store, options) {
var wellringPanel_jhh_Id = Ext.getCmp('wellringPanel_jhh_Id');
if (!Ext.isEmpty(wellringPanel_jhh_Id)) {
wellringPanel_jhh_Id = wellringPanel_jhh_Id.getValue();
}
var new_params = {
jhh : wellringPanel_jhh_Id
};
Ext.apply(store.proxy.extraParams, new_params);
}
后台接收代码:
jhh = ParamUtils.getParameter(request, "jhh");
中文就变成了乱码 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询