欢迎访问悦橙教程(wld5.com),关注java教程。悦橙教程  java问答|  每日更新
页面导航 : > > 文章正文

java warning,

来源: javaer 分享于  点击 14857 次 点评:64

java warning,


net.sf.json.JSONObject#_fromBean : Property '*' of class * has no read method

 

有单独的set属性没有用

 

 

传参数

 

		var deviceId=$("#deviceId").val();
		var startTime = $("#startTime").val();
		var endTime = $("#endTime").val();
		var url = '${contextPath}/system/videoPlayBackAction_findVideoList.action?deviceId='+deviceId+'&startTime='+startTime+'&endTime='+endTime;codeURIComponent(deviceId)+'&startTime='+startTime+'&endTime='+endTime;

 

 有以下几种情况:

 

 String deviceId = getParameterForString("deviceId");

1  $("#deviceId").val()中 的deviceId 是不存在的 则 值为undefined

 

String deviceId = getParameterForString("other");

2  other参数不存在 则值为 null

 

 String deviceId = getParameterForString("deviceId");

3 $("#deviceId").val()  deviceId 存在 但是没有值 则结果为 ''

相关文章

    暂无相关文章
相关栏目:

用户点评