- 浏览: 209737 次
- 性别:
- 来自: 哈尔滨
文章分类
- 全部博客 (267)
- java.lang (8)
- 问题汇总 (21)
- 异常记录 (20)
- 功能实现 (19)
- 面试总结 (25)
- 技巧总结 (8)
- 常用代码 (4)
- 编程习惯 (3)
- 编码规则 (3)
- java.util (10)
- java.io (1)
- JavaWeb (9)
- MySQL (16)
- SVN (3)
- MyBatis (11)
- Velocity (7)
- 其他知识 (10)
- 人生哲理 (1)
- 人生故事 (1)
- 自我感悟 (1)
- shiro (3)
- 基础知识 (0)
- 问题总结 (1)
- Spring 标签 (1)
- Spring (3)
- 点滴生活 (1)
- DOS (1)
- CAS (4)
- Linux (9)
- Storm (6)
- Shell (1)
- regex (1)
- Collection (4)
- poi (1)
- 经典语句 (1)
- NIO (5)
- concurrent (14)
- RPC (1)
- zookeeper (3)
- 待整理 (2)
- Hadoop (9)
- RabbitMq (2)
- flume (1)
- hive (7)
- hbase (4)
- kafka (1)
- scala (1)
- GC (0)
- java.util.concurrent.atomic (1)
- java.lang.ref (6)
- JVM (2)
- algorithm (1)
- conception (1)
- java key word (1)
- sun.misc (1)
最新评论
问题:ognl.OgnlException: target is null for setProperty(null, "offset", [Ljava.lang.String;@1667f3c)
场景:列表页面添加根据起始终止时间查询功能,当添加时间后点击搜索报上述错误
代码如下:
web中
页面中
解决:
参考资料:http://wjlvivid.iteye.com/blog/1766681
1.接收值的po对象,scheduleTracking 不被识别,所以找不到
2.换一个名称 schedule 问题解决
3.没有对po类进行set get方法 或 在po类中是否对调用属性未进行set get 方法
总结:通过po对象接收数据,对象名称中不能包含大写字母,否则会接收不到属性值
场景:列表页面添加根据起始终止时间查询功能,当添加时间后点击搜索报上述错误
代码如下:
web中
private ScheduleTracking scheduleTracking ; //添加该属性的set get 方法
页面中
<div class="o-search clearfix"> <label for="m-time">创建时间:</label> <input id="m-time" class="ipt-text pl7 i-w89 " type="text" id="startTime" name="scheduleTracking.startTime" value="$!scheduleTracking.startTime"/> <a class="date j-date" href="javascript:void(0)"></a> <label class="plr4">到</label> <input class="ipt-text pl7 i-w89" type="text" id ="endTime" name="scheduleTracking.endTime" value="$!scheduleTracking.endTime"/> <a class="date j-date" href="javascript:void(0)"></a> <a href="javascript:;" class="btnNew ml4"><span class="binner btnNew25-c"><input type="submit" class="btext w68" value="搜索" /></span></a> </div>
解决:
参考资料:http://wjlvivid.iteye.com/blog/1766681
1.接收值的po对象,scheduleTracking 不被识别,所以找不到
2.换一个名称 schedule 问题解决
3.没有对po类进行set get方法 或 在po类中是否对调用属性未进行set get 方法
总结:通过po对象接收数据,对象名称中不能包含大写字母,否则会接收不到属性值
发表评论
-
Publishing failed with multiple errors file not found
2017-11-10 22:39 879问题场景: Java Web项目 ... -
attempted to return null from a method with a primitive return type (int)
2017-10-25 22:52 3193异常背景 mybatis mapper.xml 中 resul ... -
java.lang.UnsupportedOperationException
2017-10-24 21:42 364异常背景: 遍历集合进行元素删除操作 异常描述: Str ... -
can not find xxx.xxx
2017-10-03 10:20 406问题描述: 单元测试一个已离职同事的接口,运行时提示 po ... -
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '
2017-10-02 18:33 624问题场景: 启动 Tomcat 时报错,org.spring ... -
java.lang.OutOfMemoryError: Java heap space
2017-10-02 18:02 439问题描述: 新来的同事,安装JDK、Eclipse 、Tom ... -
No result defined for action
2017-09-26 21:56 582问题场景: 项目设计模式:SpringMVC 调试程序过程中 ... -
attempted to return null from a method with a primitive return type (double)
2017-09-26 21:58 1532问题场景: 服务启动正常,MyBatis Interface ... -
No matching bean of type dao found for depende
2017-09-26 21:46 856问题场景: 项目设计模式:Spring MVC + MyBat ... -
1030 Got error 28 from storage engine
2016-05-24 22:25 1318现象:调试程序过程中,突然报错,显示数据检索失败,数据库连接超 ... -
org.apache.shiro.session.UnknownSessionException
2015-06-27 18:19 3914问题说明: 背景:系 ... -
java Excel poi exception
2015-06-11 16:41 681一、 问题:java导出Exce ... -
The reference to entity "locale" must end with the ';' delimiter.
2015-06-02 15:12 1823问题: 修改web.xml 文件中的拦击器中的URL后 报错T ... -
xxxList not found
2015-05-20 08:51 671问题:MyBatis接口中以list作为参数类型,在mappe ... -
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2 JD
2015-05-17 16:39 605问题:运行单元测试类(比较重载与重写的区别)时报错, ERRO ... -
Result Maps collection already contains value for mapper.XXX
2015-05-14 08:53 2127问题:运行单元测试类时报错 原因:应该用resultMap来 ... -
Unable to find resource
2015-05-13 20:32 739场景: 配合JS调试时,出现上面的异常,且数据可以正常接收,程 ... -
语法错误,查询条件中带有多余的单引号
2015-05-07 09:27 730场景:列表检索功能,查询条件中带有英文单引号,点击查询,系统异 ... -
unable to install breakpoint in
2015-05-05 16:55 624避免出现这种错误 说明:尝试了多种方式仍然未能解决,与其煞费 ...
相关推荐
set a global default for a driver property -mtdblock file use 'file' as on-board Flash memory image -sd file use 'file' as SecureDigital card image -pflash file use 'file' as a parallel flash image -...
var setProperty = function setProperty(target, options) { if (defineProperty && options.name === '__proto__') { defineProperty(target, options.name, { enumerable: true, configurable: true, ...
+ [enterprise] added property "Html" - "URLTarget" in server configuration - allow select the target attribute for report URLs + [enterprise] added property "ReportsFile" - path to file with reports ...
For example, if T1 writes some object that is in T2’s input or output set, there is a dependency between T1 and T2. Bad Dependencies These include lost updates, dirty reads, non-repeatable reads, ...
[ 3.968638] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.968734] [mmc]: mclk 0xf1c20090 0xc100000b [ 3.989421] Bluetooth: BNEP filters: protocol ...
System.setProperty( Globals.CATALINA_HOME_PROP, catalinaHomeFile.getPath()); // Then base String base = System.getProperty(Globals.CATALINA_BASE_PROP); //设置catalinaBaseFile if (base == null)...
Disassembler - fix for error emitted for unknown type for target of scope operator. Now, ignore it and continue. Disassembly of an FADT now verifies the input FADT and reports any errors found. Fix ...
* When updating blob fields in a TClientDataset with the LogChanges property set to False, blob data is lost from other unrelated records (Quality Central 6591). * Using a Filter or Locate with a ...
In this example, there are two widths: an extended property set within the object element, and a property belonging to the control that is set using the param element. To access these from script, you...
set a global default for a driver property -mtdblock file use 'file' as on-board Flash memory image -sd file use 'file' as SecureDigital card image -pflash file use 'file' as a parallel flash image -...
+ [enterprise] added property "Html" - "URLTarget" in server configuration - allow select the target attribute for report URLs + [enterprise] added property "ReportsFile" - path to file with reports ...
+ [enterprise] added property "Html" - "URLTarget" in server configuration - allow select the target attribute for report URLs + [enterprise] added property "ReportsFile" - path to file with reports ...
// the InsertionMark.AppearsAfterItem property accordingly. Rectangle itemBounds = this.GetItemRect(targetIndex); if (targetPoint.X > itemBounds.Left + (itemBounds.Width / 2)) { this....
[ 3.968638] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.968734] [mmc]: mclk 0xf1c20090 0xc100000b [ 3.989421] Bluetooth: BNEP filters: protocol ...
protected void OnPropertyChanged([CallerMemberName] string propertyName = null) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } ``` 3. **XAML布局:** 在XAML中,为...
// a target for user commands class CWnd; // a window / HWND wrapper class CDialog; // a dialog // standard windows controls class CStatic; // Static control class CButton; // Button control ...
public void setId(int id) { this.id = id; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getUserAge()...
<c:set target="${bean}" property="property_name" value="${new_value}"/> ``` ### **条件标签** 3. **`<c:if>`**: 用于执行条件判断。`test`属性包含一个布尔表达式,当该表达式为真时,`<c:if>`标签内的内容将...
_target Button._target、MovieClip._target、TextField._target _totalframes MovieClip._totalframes _url Button._url、MovieClip._url、TextField._url _visible Button._visible、MovieClip._visible、...
* Description: This is the Sample code to show the usage of EDSDK. * * * * * ******************************************************************************* * * * Written and developed by Camera ...