摘要: 一、配置过程 1.在web.xml中配置过滤器 2.导入struts2框架包 3.在src目录下创建struts.xml(必须在src下创建) 文件开头(dtd文件版本跟导入的struts2的基本一致) 4.在Preference中添加struts-2.3文件,并加入key值,key值为struts 阅读全文
posted @ 2017-08-30 21:06 下路派出所 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 集合或者属性的改变是需要通知UI,UI才会发生变化的 1.集合的通知接口:INotifyCollectionChanged 2.属性的通知接口:INotifyPropertyChanged ObervableCollection实现了INotifyCollectionChanged接口,List没有 阅读全文
posted @ 2017-08-30 10:11 下路派出所 阅读(275) 评论(0) 推荐(0) 编辑