- 日精进打卡第187天
刘伟师
2018-03-01姓名:刘卫师:公司:宁波大发化纤有限公司《六项精进》289期反省二组纪律委员【日精进打卡第187天】【知~学习】《六项精进》大纲:诵3遍共489遍《六项精进》通篇:2遍共316遍《大学》:诵3遍共492遍【经典名句分享】走自己的路,让他人去说吧!读万卷书、行万里路!满招损、谦受益!【行~践行】一、修身一点点去改变说话方法、语气让他人易接受每天读三遍大纲、三遍大学、两遍通篇坚持每
- 2018-03-01
Anna娜
今天发工资发现我好像涨工资了,然后那个小伙主动找我聊天了,上海的那家公司又打电话让我去面试了~我答应去了~今天开始记账,把每天的消费都记下来,看看哪些是有必要的,哪些是没必要的!最近两天一直想攒钱,想想那时候刚毕业的我有多傻,不攒钱,现在真的觉得月光心里很慌,手里有钱了就会踏实,哪怕只有一万块!如果我今年真的能攒够买公寓首付的钱就好啦~不急,慢慢来~
- 2018-03-01
果言果穗
图片发自App很多广告里说家是能量的源泉,为啥我每次回家心情都那么沉重呢!逃不开的相互告状,职场上小心翼翼的说话已经够累了,回家还得提心吊胆,生怕一不小心吵起来。然后再用爱的名义苦口婆心地劝说你女孩子不用这么拼,最后男人养你,孩子父母带。逃不开的原生家庭,别人2年能达到的高度,我需要四年乃至五年才能实现。保姆式的婚姻不是我想要的,我想创造条件让我孩子可以更好地见识世界的万千,好好地处世。我想要的只
- 2018-03-01
冰咋吃
要成功,就要时时怀着得意淡然、失意坦然的乐观态度,笑对自己的挫折和苦难,去做,去努力,去争取成功!图片发自App
- 2018-03-01
李眊红
晚上好,通过今日的一个学习会议学习到四大点☞分别是:1)18ss系列拾石:分为四个系列、以宝石命名,是4种不同的矿物石——每一个宝石代表的意义不一样。1月光石☞体现清新柔美的旋律色系:柔和粉金色/复古兰/静谧蓝/米白/乳酪白/酒红色元素:蕾丝、丝缎、薄纱、雪纺纱、薄纱、棉质、网眼。体现的主题:姹紫嫣红、穿金戴银小心机:校服裤、印花、小黑、棒球外套2玛瑙变形记☞体现活泼跳跃的系列,也是最年轻的系列色
- 2018-03-01 A Summary of English Study
JS哥哥
face-paintingn化妆,化妆术makeup化妆,编造metaphysics玄学villagecommittee村委会Whenshewenttoworkonvillagecommittee,shecan'tbebotheredtomakeupherface.去村委会上班时,她懒得化妆Face-paintingisametaphysics.化妆是一门玄学
- 2018-03-01不想被退出
顺德琪佳妈
2018年3月1日星期四晴学经人员:琪佳妈、琪琪、佳佳。宝贝年龄:琪琪9岁,佳佳8岁。学经周期:3年。学经方法:137累积法。学经内容:《易经》《孙子兵法》《幼学琼林》《少儿诗词启蒙》《文学启蒙》《新概念英语》。养生汇报:早起,姜枣茶。今天下班去琴行接琪琪和佳佳,她们已经练完钢琴在舞蹈室。我叫她们回去,佳佳说她还要练基本功,明天早上训练时舞蹈老师要考核她们,不合格的要退到舞蹈二队去。(佳佳现在在舞
- 2018-03-01 为什么fmt.Sprint(e)会使程序陷入死循环
lucasdada
对照着https://tour.go-zh.org/list指南学习golang然后做练习题,这里是来自于其他同学总结的练习的参考答案http://studygolang.com/articles/4945然后想要补充分享是在https://tour.go-zh.org/methods/9的练习题中提出的为什么fmt.Sprint(e)会使程序陷入死循环的func(eErrNegativeSqrt
- 2018-03-01 2-4复盘
宗介山城分舵
目标:过级实际情况:未通过观察家GOOD:1.开场很好比以前自信2.A3演练有引导3.学习者分享有打断引导BETTER:1.身体晃动(改正)2.学习目标:两个学习目标没有递进关系。3.2个片段不那么做的坏处不是很明显4.例子不是原文的例子(技能点:根据原书中案例脉络,给出了更贴近的例子)5.片段一的I用时11分钟,片段二的用时3分钟。6.学习目标不好观测7.片段一是what耗时长片段一是普世道理拆
- 2018-03-01
叶落悠悠
亲子日记第三十五篇天气:晴天今天带孩子去县城弟弟家玩,由于下午还得接闺女放学,我和妹妹都开了车,一前一后就把车开到了弟弟家。儿子在前面拽着我爬楼,弟弟住五楼,小孩子好像有使不完的劲,爬到楼上,累的我气喘吁吁。小侄女今天刚好50天,长的很漂亮,儿子说:小妹妹太可爱了!妈妈,你给我生个小妹妹玩吧!我说:妈快老了,不能生了。哈哈!儿子表现出不高兴的样子。在弟弟家玩了一会,弟弟就开车带着我和孩子们去了北宋
- 我好想你,你不知道。
沐森读书
原创2018-03-01小天沐森读书1爱情里有太多让人心酸的时刻。如果是有过:“他怎么还不回我微信啊,他今天会不会主动找我,他在干嘛?”这种感觉的人,很容易有一天就觉得:“不想再联系了,我受够了。”有点像买了个东西眼巴巴盼了很多天,收到之后却发现货不对版的感觉。区别在于,在网上买东西你可以怪卖家拍的太好了,现实中怎么办呢,他没有许诺过什么,是你自己想的太好了。想象有爱情,想象不被辜负,想象所有的忐
- 每日安全资讯(2018.3.02)
溪边的墓志铭
德国政府称其网络遭遇黑客攻击,未透露袭击者身份http://news.sina.com.cn/o/2018-03-01/doc-ifyrzinh1262278.shtml数字性病?1/3英国人因浏览色情网站中病毒http://gz.people.com.cn/n2/2018/0301/c194864-31299487.html[预警]利用Memcache作为DRDoS反射放大器进行DDoS攻击ht
- 2018-03-01
加了冰的咖啡
姓名:吴龙飞公司:杭州简品食品股份有限公司组别:利他一组【日精进打卡第158天】【知~学习】《六项精进》遍共34遍《大学》遍共30遍【经典名句分享】【行~实践】一、修身:1、步行、早会学习二、齐家:1、和家人视频三、建功:1、{积善}:发愿从2017年9月25日起半年内日行一善。今日善,总计63善。【省~觉悟】要每天反省【感谢】感谢家人【志愿】持续践行《六项精进》,为家庭、为公司、为社会贡献自己的
- 2018-03-01
踏歌而行
07:54到公司07:55-08:15增加用户订单列表复合状态说明08:16-08:17整理卫生08:18-09:21思考设计和开发给app的海外智能注册的国家信息查询09:22-09:29休息09:30-09:45深度优化的早会09:45-09:50查看斌斌的下单代码问题和文档09:51-10:31完成海外注册的国家或地区查询开发,测试,文档编写10:32-10:40休息10:41-11:50处
- 2018-03-01
黄玉新
今日功课:站桩30分钟,练字2小时。1、今天更多地跟自己在一起,经由站桩体验呼吸与身体的链接,内观念头起落,不分别不评判,看见即止。走路,写字,洗莱,做饭,用心感觉每一个动作,看到,听到,触到,嗅到,让感觉由外往内走,平静接收。凡所有相,皆是虚妄。变化为虚,不变为实。2、观看电视《感动中国颁奖晚会》,从他们身上感受到了从容、坚定和相信。是什么力量支撑着他们,在平凡的岗位、平凡的生活中,绽放出生命的
- 2018-03-01 16:03:01 挂留和弦
BacioPerugina
挂留和弦(SuspendedChord)用二度音或者纯四度音代替原来的三度音而排列组合成的和弦。如果使用二度音代替三音,称其为挂二和弦。如果使用四度音代替三音,称其为挂四和弦。如:C大三和弦C3-G4-C5-E5Csus2和弦C3-G4-C5-D5Csus4和弦C3-G4-C5-F5注意:大二度、小二度的选择取决于这个音是否落在该调式内。挂留和弦感情色彩丰富。但是本身有不稳定音的存在,因此,一般需
- 2018-03-01
Parastoo
年前,在此之前,我觉得cz与否很大程度是选择的问题,尊重家里尊重传统还是勇于尝试,此时此刻必须提出来却再也不是选择了,不敢想象继续不断的反复这种状态了。
- 2018-03-01
Alan和鱼
凌晨的噩梦,不是来自事件,而是来自与人的比较和对比。自尊跌落,焦虑满溢而出,吞吃自我,拷问灵魂。极快平复心情。处理手机充电问题,自我预见性太差。和婆婆准备电话卡也不够。拍照费用过高并未提出异议,可见谈判能力还不够,对金钱的珍惜度还不够高。请假问题,暴露出对超我极大的畏惧,而忽略了身边的人与事,排序不能如此,需用改变。医院排队处理展现的统筹和预见能力不够。儿童的牙齿和眼睛出问题,是习惯还不够好,及时
- 2018-03-01
佑杰宝
薛玉玉20158年2月29日学经养生锻炼汇报:1.经典学习:《易经》乾卦、坤卦《老子》第三十一章至第五十章2.食疗:姜枣水3.锻炼:抡胳膊1000个4.心得总结:1.有计划的干事和没有计划的干事就是两种结果,今天上午我没有像昨天上午那样给自己做事情安排一个时间点,所以做完的事情效率就低下,自己对手机的控制也是不那么自觉。想起前两天有小琴老师说到势不可挡的低头族。但是我内心还是没有理清那样的思路。所
- 2018-03-01 vue学习
等花开_8e16
1.语法糖:简单说,语法糖就是为了避免coder出现错误并提高效率的语法层面的一种优雅的解决方案。语法糖就是一种便捷写法。例如:input.map(item=>item+1);他表示的意思是input.map(function(item){returnitem+1;});2.通过实例学习vuehttps://segmentfault.com/a/1190000010801357
- 2018-03-01
百合花开2018
赵玉芳,今日读书打卡第5天破解高效学习的密码,元认知高效学习五维调控技术P18----20大脑喜欢简单的、有序的知识。引导思维产生顿悟是解决学习问题的核心。
- 2018-03-01
妮妮哲
2018年3月1日星期四儿子今天早早就起床了,我去做饭,他背了两遍课文,就说去玩玩具了,我做好饭一看儿子在看书——《克里克塔》,真难得儿子自己主动去看书,还给我讲了克里克塔的故事呢!晚上六点半去托辅接他回家,他又是最后一个,作业还没写完,到家我看了看他写的是课文小青蛙的生字,一共七个字他还有三个没写完。唉!这写字速度真是慢啊!吃完饭把生字写完,又做了托辅老师给布置的数学作业,背诵了课文小青蛙,不早
- 2018-03-01
禾隆李亮
【日精进打卡第46天】宁波禾隆新材料有限公司打卡人:李亮【知~学习】《六项精进》1遍共82遍《大学》1遍共37遍【经典名句分享】天道酬勤,永进无潮!【行~实践】一、修身:(对自己个人)1、积极的心态,总能带给大家正能量二、齐家:(对家庭和家人)1、懂得沟通的重要性三、建功:(对工作)1、完善公司销售团队制度,考核指标2、{积善}发愿从2017年12月25日起1年内行365善事。今日1善,累计45善
- 2018-03-01吓煞人香
斯水若寒2
从天福茗茶美丽导购处购得茉莉双熏碧螺春,搁置于冰箱一角恍然月余。昨晚深夜猛然记起,别了宝马会中的人间领袖,财富至尊。脚步愉快,身后却是渐行渐远的灯红酒绿,纸醉金迷。回家烧水,冲沏,伴随袅娜的水汽升腾,空谷幽兰般的香气便在鼻尖绽放。“镇日莺愁燕懒,遍地落红谁管?睡起热沉香,小饮碧螺春碗。帘卷,帘卷,一任柳丝风软”。吴伟业,你品的是阳春三月春风暖,我却喝的是喧嚣人间四月天啊。我本无喝茶的习惯,闲暇时充
- 2018-03-01
dreams怦嘭
终于拆开了这本经济学的书,在买后六个月的今天。看着看着才发现,我还没看前册微观经济学就入手了宏观经济学,很逗,只能跪着看了几页。1、什么是微观经济学宏观经济学?微观经济学是研究家庭和企业如何做出决策。宏观经济学是研究整体经济现象。2、国内生产总值(GDP)的作用?GDP衡量的是一国的总收入。判断一国是否富裕或者贫穷,要考察经济中所有人的总收入,就像判断一个人在经济上是否成功,可以看他的收入,收入高
- 2018-03-01
小超超爱超超
1.吞吐率VSR_D数据包发送速率:验证RTS阈值准确性吞吐量\hat{D}VSR_{D}数据包发送速率2.吞吐量\hat{D}VSn节点数目:来验证RTSthreshold准确性吞吐量\hat{D}Vsn节点数目
- 2018-03-01
山缘有约
晨练第302天:单车20分钟读经第122天:孟子孟子说舜的大孝。舜的父母不喜欢他,但他仍然爱父母。即便舜后来成了天下最尊贵富有的人,天下的人都喜欢他,但他依然会望着天空哭泣。孟子说是舜对父母有怨慕。慕非常好理解,就是怀念喜爱父母;怨就不好理解了,我想是舜怨自己没能得到父母的喜爱,没能使父母顺心。总之这种感觉有点复杂,怨望和怀念交织。人在年幼的时候,爱慕父母;懂得喜欢女子的时候,就爱慕年轻漂亮的姑娘
- 2018-03-01
徐娟Wellin
(万尚学习会)打卡第24天姓名:徐娟部门:人事部组别:待定【知~学习】诵读《稻盛和夫自传》第三章“活用哲学”诵读《活法》第一章“成功需要紧密的计划和精心的准备”【内容感悟分享】“我与个别官员交谈时发现,他们都是认真并且有真知灼见的,从中我也受教良多。如果不把官僚看做是一个组织,而是看做是个人的集合的话,那将是无可比拟的人才库。”每次想到很多大学优秀的毕业生或优秀的人才为了所谓的稳定都去做了公务员就
- 2018-03-01发条美丽(三)2010还是你的泪水背后
斯水若寒2
爱过以后要如何结束是选择怀念还是陌路.也许只能相忘于江湖,落花飘零冷香如故.爱过以后要如何结束,不能相守就祝你幸福.痛过之后不要再回顾,寂寞沙洲情归何处.我们的爱不再澎湃,只剩下伤感余味在徘徊.既然不能给你未来,那就让我还给你现在.爱过以后心如尘挨.我还有什么理由留下来.回忆只能带给你伤害,那就让我安静地离开..
- 七绝 飞泉古刹
江南鸿
图片发自App图片发自App飞檐黛瓦三重殿,矗立山南幽谷前。院外春芳芽叶发,菩提树下好参禅。1、押平水韵一先平声。2018-03-01于宁德
- 统一思想认识
永夜-极光
思想
1.统一思想认识的基础,才能有的放矢
原因:
总有一种描述事物的方式最贴近本质,最容易让人理解.
如何让教育更轻松,在于找到最适合学生的方式.
难点在于,如何模拟对方的思维基础选择合适的方式. &
- Joda Time使用笔记
bylijinnan
javajoda time
Joda Time的介绍可以参考这篇文章:
http://www.ibm.com/developerworks/cn/java/j-jodatime.html
工作中也常常用到Joda Time,为了避免每次使用都查API,记录一下常用的用法:
/**
* DateTime变化(增减)
*/
@Tes
- FileUtils API
eksliang
FileUtilsFileUtils API
转载请出自出处:http://eksliang.iteye.com/blog/2217374 一、概述
这是一个Java操作文件的常用库,是Apache对java的IO包的封装,这里面有两个非常核心的类FilenameUtils跟FileUtils,其中FilenameUtils是对文件名操作的封装;FileUtils是文件封装,开发中对文件的操作,几乎都可以在这个框架里面找到。 非常的好用。
- 各种新兴技术
不懂事的小屁孩
技术
1:gradle Gradle 是以 Groovy 语言为基础,面向Java应用为主。基于DSL(领域特定语言)语法的自动化构建工具。
现在构建系统常用到maven工具,现在有更容易上手的gradle,
搭建java环境:
http://www.ibm.com/developerworks/cn/opensource/os-cn-gradle/
搭建android环境:
http://m
- tomcat6的https双向认证
酷的飞上天空
tomcat6
1.生成服务器端证书
keytool -genkey -keyalg RSA -dname "cn=localhost,ou=sango,o=none,l=china,st=beijing,c=cn" -alias server -keypass password -keystore server.jks -storepass password -validity 36
- 托管虚拟桌面市场势不可挡
蓝儿唯美
用户还需要冗余的数据中心,dinCloud的高级副总裁兼首席营销官Ali Din指出。该公司转售一个MSP可以让用户登录并管理和提供服务的用于DaaS的云自动化控制台,提供服务或者MSP也可以自己来控制。
在某些情况下,MSP会在dinCloud的云服务上进行服务分层,如监控和补丁管理。
MSP的利润空间将根据其参与的程度而有所不同,Din说。
“我们有一些合作伙伴负责将我们推荐给客户作为个
- spring学习——xml文件的配置
a-john
spring
在Spring的学习中,对于其xml文件的配置是必不可少的。在Spring的多种装配Bean的方式中,采用XML配置也是最常见的。以下是一个简单的XML配置文件:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.or
- HDU 4342 History repeat itself 模拟
aijuans
模拟
来源:http://acm.hdu.edu.cn/showproblem.php?pid=4342
题意:首先让求第几个非平方数,然后求从1到该数之间的每个sqrt(i)的下取整的和。
思路:一个简单的模拟题目,但是由于数据范围大,需要用__int64。我们可以首先把平方数筛选出来,假如让求第n个非平方数的话,看n前面有多少个平方数,假设有x个,则第n个非平方数就是n+x。注意两种特殊情况,即
- java中最常用jar包的用途
asia007
java
java中最常用jar包的用途
jar包用途axis.jarSOAP引擎包commons-discovery-0.2.jar用来发现、查找和实现可插入式接口,提供一些一般类实例化、单件的生命周期管理的常用方法.jaxrpc.jarAxis运行所需要的组件包saaj.jar创建到端点的点到点连接的方法、创建并处理SOAP消息和附件的方法,以及接收和处理SOAP错误的方法. w
- ajax获取Struts框架中的json编码异常和Struts中的主控制器异常的解决办法
百合不是茶
jsjson编码返回异常
一:ajax获取自定义Struts框架中的json编码 出现以下 问题:
1,强制flush输出 json编码打印在首页
2, 不强制flush js会解析json 打印出来的是错误的jsp页面 却没有跳转到错误页面
3, ajax中的dataType的json 改为text 会
- JUnit使用的设计模式
bijian1013
java设计模式JUnit
JUnit源代码涉及使用了大量设计模式
1、模板方法模式(Template Method)
定义一个操作中的算法骨架,而将一些步骤延伸到子类中去,使得子类可以不改变一个算法的结构,即可重新定义该算法的某些特定步骤。这里需要复用的是算法的结构,也就是步骤,而步骤的实现可以在子类中完成。
 
- Linux常用命令(摘录)
sunjing
crondchkconfig
chkconfig --list 查看linux所有服务
chkconfig --add servicename 添加linux服务
netstat -apn | grep 8080 查看端口占用
env 查看所有环境变量
echo $JAVA_HOME 查看JAVA_HOME环境变量
安装编译器
yum install -y gcc
- 【Hadoop一】Hadoop伪集群环境搭建
bit1129
hadoop
结合网上多份文档,不断反复的修正hadoop启动和运行过程中出现的问题,终于把Hadoop2.5.2伪分布式安装起来,跑通了wordcount例子。Hadoop的安装复杂性的体现之一是,Hadoop的安装文档非常多,但是能一个文档走下来的少之又少,尤其是Hadoop不同版本的配置差异非常的大。Hadoop2.5.2于前两天发布,但是它的配置跟2.5.0,2.5.1没有分别。 &nb
- Anychart图表系列五之事件监听
白糖_
chart
创建图表事件监听非常简单:首先是通过addEventListener('监听类型',js监听方法)添加事件监听,然后在js监听方法中定义具体监听逻辑。
以钻取操作为例,当用户点击图表某一个point的时候弹出point的name和value,代码如下:
<script>
//创建AnyChart
var chart = new AnyChart();
//添加钻取操作&quo
- Web前端相关段子
braveCS
web前端
Web标准:结构、样式和行为分离
使用语义化标签
0)标签的语义:使用有良好语义的标签,能够很好地实现自我解释,方便搜索引擎理解网页结构,抓取重要内容。去样式后也会根据浏览器的默认样式很好的组织网页内容,具有很好的可读性,从而实现对特殊终端的兼容。
1)div和span是没有语义的:只是分别用作块级元素和行内元素的区域分隔符。当页面内标签无法满足设计需求时,才会适当添加div
- 编程之美-24点游戏
bylijinnan
编程之美
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Random;
import java.util.Set;
public class PointGame {
/**编程之美
- 主页面子页面传值总结
chengxuyuancsdn
总结
1、showModalDialog
returnValue是javascript中html的window对象的属性,目的是返回窗口值,当用window.showModalDialog函数打开一个IE的模式窗口时,用于返回窗口的值
主界面
var sonValue=window.showModalDialog("son.jsp");
子界面
window.retu
- [网络与经济]互联网+的含义
comsci
互联网+
互联网+后面是一个人的名字 = 网络控制系统
互联网+你的名字 = 网络个人数据库
每日提示:如果人觉得不舒服,千万不要外出到处走动,就呆在床上,玩玩手游,更不能够去开车,现在交通状况不
- oracle 创建视图 with check option
daizj
视图vieworalce
我们来看下面的例子:
create or replace view testview
as
select empno,ename from emp where ename like ‘M%’
with check option;
这里我们创建了一个视图,并使用了with check option来限制了视图。 然后我们来看一下视图包含的结果:
select * from testv
- ToastPlugin插件在cordova3.3下使用
dibov
Cordova
自己开发的Todos应用,想实现“
再按一次返回键退出程序 ”的功能,采用网上的ToastPlugins插件,发现代码或文章基本都是老版本,运行问题比较多。折腾了好久才弄好。下面吧基于cordova3.3下的ToastPlugins相关代码共享。
ToastPlugin.java
package&nbs
- C语言22个系统函数
dcj3sjt126com
cfunction
C语言系统函数一、数学函数下列函数存放在math.h头文件中Double floor(double num) 求出不大于num的最大数。Double fmod(x, y) 求整数x/y的余数。Double frexp(num, exp); double num; int *exp; 将num分为数字部分(尾数)x和 以2位的指数部分n,即num=x*2n,指数n存放在exp指向的变量中,返回x。D
- 开发一个类的流程
dcj3sjt126com
开发
本人近日根据自己的开发经验总结了一个类的开发流程。这个流程适用于单独开发的构件,并不适用于对一个项目中的系统对象开发。开发出的类可以存入私人类库,供以后复用。
以下是开发流程:
1. 明确类的功能,抽象出类的大概结构
2. 初步设想类的接口
3. 类名设计(驼峰式命名)
4. 属性设置(权限设置)
判断某些变量是否有必要作为成员属
- java 并发
shuizhaosi888
java 并发
能够写出高伸缩性的并发是一门艺术
在JAVA SE5中新增了3个包
java.util.concurrent
java.util.concurrent.atomic
java.util.concurrent.locks
在java的内存模型中,类的实例字段、静态字段和构成数组的对象元素都会被多个线程所共享,局部变量与方法参数都是线程私有的,不会被共享。
- Spring Security(11)——匿名认证
234390216
Spring SecurityROLE_ANNOYMOUS匿名
匿名认证
目录
1.1 配置
1.2 AuthenticationTrustResolver
对于匿名访问的用户,Spring Security支持为其建立一个匿名的AnonymousAuthenticat
- NODEJS项目实践0.2[ express,ajax通信...]
逐行分析JS源代码
Ajaxnodejsexpress
一、前言
通过上节学习,我们已经 ubuntu系统搭建了一个可以访问的nodejs系统,并做了nginx转发。本节原要做web端服务 及 mongodb的存取,但写着写着,web端就
- 在Struts2 的Action中怎样获取表单提交上来的多个checkbox的值
lhbthanks
javahtmlstrutscheckbox
第一种方法:获取结果String类型
在 Action 中获得的是一个 String 型数据,每一个被选中的 checkbox 的 value 被拼接在一起,每个值之间以逗号隔开(,)。
所以在 Action 中定义一个跟 checkbox 的 name 同名的属性来接收这些被选中的 checkbox 的 value 即可。
以下是实现的代码:
前台 HTML 代码:
- 003.Kafka基本概念
nweiren
hadoopkafka
Kafka基本概念:Topic、Partition、Message、Producer、Broker、Consumer。 Topic: 消息源(Message)的分类。 Partition: Topic物理上的分组,一
- Linux环境下安装JDK
roadrunners
jdklinux
1、准备工作
创建JDK的安装目录:
mkdir -p /usr/java/
下载JDK,找到适合自己系统的JDK版本进行下载:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
把JDK安装包下载到/usr/java/目录,然后进行解压:
tar -zxvf jre-7
- Linux忘记root密码的解决思路
tomcat_oracle
linux
1:使用同版本的linux启动系统,chroot到忘记密码的根分区passwd改密码 2:grub启动菜单中加入init=/bin/bash进入系统,不过这时挂载的是只读分区。根据系统的分区情况进一步判断. 3: grub启动菜单中加入 single以单用户进入系统. 4:用以上方法mount到根分区把/etc/passwd中的root密码去除 例如: ro
- 跨浏览器 HTML5 postMessage 方法以及 message 事件模拟实现
xueyou
jsonpjquery框架UIhtml5
postMessage 是 HTML5 新方法,它可以实现跨域窗口之间通讯。到目前为止,只有 IE8+, Firefox 3, Opera 9, Chrome 3和 Safari 4 支持,而本篇文章主要讲述 postMessage 方法与 message 事件跨浏览器实现。postMessage 方法 JSONP 技术不一样,前者是前端擅长跨域文档数据即时通讯,后者擅长针对跨域服务端数据通讯,p