function getFyqqList(zczh,zt,type){
var url=baseUrl+"/bankLogic.do?action=getFyqqList";
url+="&zczh="+encodeURI(encodeURI(zczh))+"&zt="+zt+"&type="+type;
window.open(url);
}function fyqq(zczh,zt,type){
var url = baseUrl+"/bankLogic.do?action=getFyqqList";
url+="&zczh="+encodeURI(zczh)+"&zt="+zt+"&type="+type;
ajaxAnywhere.getAJAX(url, "tj_zone", "true");
}function shxc(zczh,zt,type){
var url = baseUrl+"/bankLogic.do?action=getShQueryList";
url+="&zczh="+zczh+"&zt="+zt+"&type="+type;;
ajaxAnywhere.getAJAX(url, "tj_zone", "true");
}
getFyqqList(){
String zczh = (String) this.getParameter("zczh");
zczh = java.net.URLDecoder.decode(zczh,"utf-8");
}getShQueryList(){
String zczh = this.getParameter("zczh") == null ? "" : new String(((String) this.getParameter("zczh")).getBytes("ISO-8859-1"),"UTF-8");
}
var url=baseUrl+"/bankLogic.do?action=getFyqqList";
url+="&zczh="+encodeURI(encodeURI(zczh))+"&zt="+zt+"&type="+type;
window.open(url);
}function fyqq(zczh,zt,type){
var url = baseUrl+"/bankLogic.do?action=getFyqqList";
url+="&zczh="+encodeURI(zczh)+"&zt="+zt+"&type="+type;
ajaxAnywhere.getAJAX(url, "tj_zone", "true");
}function shxc(zczh,zt,type){
var url = baseUrl+"/bankLogic.do?action=getShQueryList";
url+="&zczh="+zczh+"&zt="+zt+"&type="+type;;
ajaxAnywhere.getAJAX(url, "tj_zone", "true");
}
getFyqqList(){
String zczh = (String) this.getParameter("zczh");
zczh = java.net.URLDecoder.decode(zczh,"utf-8");
}getShQueryList(){
String zczh = this.getParameter("zczh") == null ? "" : new String(((String) this.getParameter("zczh")).getBytes("ISO-8859-1"),"UTF-8");
}
解决方案 »
- 网站的反馈怎么做?
- spring+struts2开发出现的错误
- 如何让ifram自动调整高度?
- struts标签,图片显示(非二进制图片)
- CVS和SVN那个好用点?各有什么好处、坏处?
- 请各位兄弟帮我看看!~这个是什么语言呀~!怎么从来没有见过这样的写法呀!
- 我这句struts代码到底错在那里????请高手帮帮忙
- 求助:socket获取数据报错
- 在jsp页面里多刷新几次,就出错了,是为什么了
- :有个特别麻烦的问题,请看内容--------------
- struts2中的There is no Action mapped for namespace / and action name LoginRegist.
- struts2 动态方法调用问题
LZ需要在JS中转2次码,然后后台在解码就行了;
JS代码:
conditions=encodeURI(conditions);
conditions=encodeURI(conditions);//必须要转码2次
Action代码:
String adname=URLDecoder.decode(schedule.getAdname(),"UTF-8");
即可!