Loading

摘要: 参考文章http://programmerslounge.blogspot.com/2013/03/error-missing-message-for-key.html 错误的struts-config.xml配置: 解决方法,将上述parameter属性中的.properties后缀去掉: 经测试 阅读全文
posted @ 2018-11-25 16:54 wincent98 阅读(1215) 评论(0) 推荐(0) 编辑
摘要: 原因是Action和ActionForm对应文件中没有继承相应的类,具体来说: ActionForm的编写: Action的编写: 修改后重新运行: 注意事项: 用Struts标签生成的表单必须指定action属性,否则会报错。 另外,<form>标签的action属性应该包含项目名称,如actio 阅读全文
posted @ 2018-11-25 10:41 wincent98 阅读(169) 评论(0) 推荐(0) 编辑
摘要: initAjax函数实现了对浏览器的兼容(IE5,6), 不过现在ActiveX技术早已过时, 被浏览器默认禁用. showInfo函数中将xhrStateChange函数绑定到onreadystatechange事件, 注意这种绑定方式不支持传参(只写函数名不能加括号)!!!而且这句代码写在函数外 阅读全文
posted @ 2018-11-13 17:12 wincent98 阅读(298) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/lyj787505955/article/details/38079079 应该是chrome的原因, 同一网页放在tomcat后,通过localhost方式访问, 与cookie有关的操作恢复正常 阅读全文
posted @ 2018-11-07 19:56 wincent98 阅读(1531) 评论(0) 推荐(0) 编辑
摘要: Autofac.Core.DependencyResolutionException : An error occurred during the activation of a particular registration. See the inner exception for details 阅读全文
posted @ 2018-10-28 21:20 wincent98 阅读(1477) 评论(0) 推荐(0) 编辑
摘要: 原文作者: louis 原文链接: http://louiszhai.github.io/2015/12/11/js.boolean/ 语法 众所周知, JavaScript有五个基本的值类型:number、string、boolean、null和undefined。除了null和undefined 阅读全文
posted @ 2018-10-18 20:09 wincent98 阅读(49387) 评论(0) 推荐(3) 编辑
摘要: 简单的算法 基本思路就是将面值从大到小统计(外循环), 若当前金额大于某面值, 则当前金额减掉该面值, 并将面值对应张数+1, 继续往下判断(内循环) 原文链接:https://zhidao.baidu.com/question/391280227231381725.html 附我自己一开始写的代码 阅读全文
posted @ 2018-10-02 17:16 wincent98 阅读(3735) 评论(0) 推荐(0) 编辑
摘要: 转载:http://blog.51cto.com/1123697506/882064 一 权限掩码umask umask是chmod配套的,总共为4位(gid/uid,属主,组权,其它用户的权限),不过通常用到的是后3个,例如你用chmod 755 file(此时这文件的权限是属主读(4)+写(2) 阅读全文
posted @ 2018-09-22 20:24 wincent98 阅读(4575) 评论(0) 推荐(0) 编辑
摘要: 0 Header files 0p Header files (POSIX) 1 Executable programs or shell commands 1p Executable programs or shell commands (POSIX) 2 System calls (functi 阅读全文
posted @ 2018-09-22 19:19 wincent98 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 运行级别(Runlevel)指的是Unix或者Linux等类Unix操作系统下不同的运行模式。运行级别通常分为7等,分别是从0到6,但如果必要的话也可以更多。 例如在大多数Linux操作系统下一共有如下7个典型的运行级别: 0 停机,关机 1 单用户,无网络连接,不运行守护进程,不允许非超级用户登录 阅读全文
posted @ 2018-09-12 19:39 wincent98 阅读(214) 评论(0) 推荐(0) 编辑