`

java warning

    博客分类:
  • java
 
阅读更多

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 存在 但是没有值 则结果为 ''

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics