2017年9月17日
摘要: 1. 第一个原因,bash是sh的superset,可能使用的sh不支持[],换成bash,也许可以解决。2.ubuntu的sh默认解释器,是dash,所以明确指定为bash执行,或者修改默认解释器。方法: sudo dpkg-reconfigure dash 选择no即可. 阅读全文
posted @ 2017-09-17 21:09 技术的深奥 阅读(600) 评论(0) 推荐(0) 编辑
2017年8月14日
摘要: 1.Python内置的一种数据类型是列表:list。list是一种有序的集合,可以随时添加和删除其中的元素 定义list的方式:a=['zhangsan','lisi','wangwu']; (1)遍历list方式for i in range(0,2): print (a[i]) 结果:lisi w 阅读全文
posted @ 2017-08-14 17:01 技术的深奥 阅读(781) 评论(0) 推荐(0) 编辑
2017年7月26日
摘要: 高并发处理方案、 一个小型的网站,比如个人网站,可以使用最简单的html静态页面就实现了,配合一些图片达到美化效果,所有的页面均存放在一个目录下,这样的网站对系统架构、性能的要求都很简单,随着互联网业务的不断丰富,网站相关的技术经过这些年的发展,已经细分到很细的方方面面,尤其对于大型网站来说,所采用 阅读全文
posted @ 2017-07-26 16:12 技术的深奥 阅读(24330) 评论(0) 推荐(1) 编辑
2017年7月22日
摘要: 1.java基本数据类型 byte short int long float boolean double char 2。单例模式 第一种(懒汉,线程不安全): Java代码 public class Singleton { private static Singleton instance; pr 阅读全文
posted @ 2017-07-22 20:52 技术的深奥 阅读(240) 评论(0) 推荐(0) 编辑
2017年6月17日
摘要: Error creating bean with name 'waterInfoController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory. 阅读全文
posted @ 2017-06-17 23:35 技术的深奥 阅读(699) 评论(0) 推荐(0) 编辑
2017年6月6日
摘要: window 》preference 》file associations >*.jsp >jsp Editor 阅读全文
posted @ 2017-06-06 16:29 技术的深奥 阅读(474) 评论(0) 推荐(0) 编辑
2017年6月5日
摘要: cmd 输入 netsh winsock reset,重启电脑 阅读全文
posted @ 2017-06-05 17:57 技术的深奥 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 在web.xml文件中<session-config> <session-timeout>1</session-timeout> </session-config> 阅读全文
posted @ 2017-06-05 10:22 技术的深奥 阅读(218) 评论(0) 推荐(0) 编辑
2017年5月29日
摘要: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.jdbc.datasource.DataSourceTransactionManag 阅读全文
posted @ 2017-05-29 13:59 技术的深奥 阅读(9232) 评论(1) 推荐(0) 编辑
2017年5月24日
摘要: 在web.xml文件中 <?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/jav 阅读全文
posted @ 2017-05-24 14:01 技术的深奥 阅读(181) 评论(0) 推荐(0) 编辑