码迷,mamicode.com
首页 >  
搜索关键字:action item    ( 28673个结果
el表达式
el表达式可以直接访问action中的属性值,而不是成员变量。下面代码中在jsp中应该这样写:${name},而不是${age}e.g:action{ private int age;//成员变量 public String getName(){ //Name为属性 return age;...
分类:其他好文   时间:2014-05-19 20:36:26    阅读次数:599
Android ListView点击失效
item中存在 ImageButton 等可以点击的组件,这会抢先获得ListView的焦点. 从而导致item点击失效
分类:移动开发   时间:2014-05-19 09:49:55    阅读次数:201
Struts2中Action各种转发类型
Struts2:Action中result的各种转发类型:内部请求转发dispatcher(默认值)redirect、redirectAction、plainText1.redirect是重定向到某个路径、视图/***重定向 /employeeAdd.jsp?username=${username}...
分类:其他好文   时间:2014-05-19 09:18:05    阅读次数:204
Android: ListView数据的分批加载 以及 Handle 总结
这是效果图:activity_main.xml0106071213listview_item.xml listview每一条0109101415footer.xml作为每一页翻到最后时显示:正在加载中.....01101115162122下面是主界面:01public class MainActiv...
分类:移动开发   时间:2014-05-19 09:10:21    阅读次数:368
ASP.NET MVC5学习笔记之Action参数模型绑定值提供体系
这一节我们关注模型绑定的值提供体系,先来介绍几个重要的接口一.IValueProvider,接口定义如下:1 public interface IValueProvider2 {3 4 bool ContainsPrefix(string prefix);...
分类:Web程序   时间:2014-05-19 08:08:11    阅读次数:1288
JS与IE/Firefox兼容性汇总
以下以 IE 代替 Internet Explorer,以 MF 代替 Mozzila Firefox1. document.form.item 问题 (1)现有问题: 现有代码中存在许多 document.formName.item("itemName") 这样的语句,不能在 MF 下运行 (2)...
分类:Web程序   时间:2014-05-17 19:58:31    阅读次数:449
更有效的批处理(cheaper in bulk)
mget允许我们一次检索多个document,而bulk API则允许我们在一个请求中做create,index,update 或者delete。如果你要index一个数据流如日志数据,bulk是很实用的,bulk可以能排队数百或数千的批次处理。bulk的请求体有点不同寻常,如下:{ action:...
分类:其他好文   时间:2014-05-17 19:24:37    阅读次数:313
Android 使用系统的Activity播放音频文件 intent
Intent intent = new Intent(); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setAction(Intent.ACTION_VIEW); inten...
分类:移动开发   时间:2014-05-17 19:03:17    阅读次数:257
给Hyper-V创建两块网卡备用
描述 给Hyper-V创建两块网卡备用 步骤: 1 打开Hyper-V,在右侧Action栏,单击Virtual Switch Manager… 2 依次选择New Virtual network switch | Internal | Create Virtual Switch 3 指定Name为...
分类:其他好文   时间:2014-05-17 18:26:05    阅读次数:299
MVC – 6.Controller Action方法参数与返回值
6.1 Controller接收浏览器数据 a.获取Get数据 : a1:获取路由url中配置好的制定参数: 如配置好的路由: 浏览器请求路径为: /User/Modify/1 ,MVC框架获取请求后,就会找到匹配的路由映射路径url,得知是请求的控制器类 User里的Modify方法,此时就会检查...
分类:Web程序   时间:2014-05-17 17:57:34    阅读次数:507
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!