问题描述
- jfinal的过滤器相关问题
-
框架为jfinal,运行程序不会报错,debug的话一直往底层走,最后什么都没显示就运行完了,Source not found for ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 270,这是debug时显示的,请问大神们怎么解决啊,附上代码,我也没用过滤器啊。
public void yy(){
String yyrid=getPara("yyrid");
String yyid=getPara("yyid");
Yyys yyys=Yyys.dao.findInfoByyyid(yyid);
boolean isok=yyys.set("yyrid", yyrid).set("yyid",yyid).update();(执行到这步时出现问题)
Map map=new HashMap();
if(!isok){
map.put("data",0);
map.put("error","预约出错了,请重新预约!");
String json=JSON.toJSONString(map);
renderJson(json);
}else{
map.put("data", 1);
String json=JSON.toJSONString(map);
renderJson(json);
}
}
解决方案
http://www.oschina.net/question/220491_103807
时间: 2024-09-17 03:26:31