会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
廖东海
新随笔
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
2014年8月27日
Enter Password for Default Keyring to Unlock
摘要: 启动linux之后,进evolution时Enter Password for Default Keyring to Unlock (在改过自己的登陆密码并重新登陆之后,就会弹出该提示框)在终端输入 seahorse, 弹出界面 然后删除Password Keyrings
阅读全文
posted @ 2014-08-27 09:30 廖东海
阅读(628)
评论(0)
推荐(0)
2014年8月26日
7天入门JavaScript,第二天
摘要: 全局变量会削弱程序的灵活性。所以在javascript中,一个很关键的问题是要控制和避免全局变量.(减少全局污染)方法一,在应用中只创建一个全局变量,然后把多个全局变量整理到这个命名空间下。 这样可以减少和其他应用程序、组建、类库产生耦合。方法二,使用闭包进行信息隐藏,闭包 内部函数可以访问外部函数...
阅读全文
posted @ 2014-08-26 20:21 廖东海
阅读(166)
评论(0)
推荐(0)
Linux下,tomcat端口被占用解决办法
摘要: netstat-->查看网络端口与进程号netstat -anp|grep 8080 直接查看指定端口的进程pid#结果为tcp 0 0 :::8080 :::* LISTEN 9019/java 则9019为8080这个端口的tomcat进程的pid,然后kill这个进程:kill -9 9019...
阅读全文
posted @ 2014-08-26 13:39 廖东海
阅读(1495)
评论(0)
推荐(0)
List 的size是0时,get(0) 会报IndexOutOfBoundsException
摘要: LIist list = new ArrayList();list.get(0); // IndexOutOfBoundsException这个时候的数组没有index,长度是0
阅读全文
posted @ 2014-08-26 11:15 廖东海
阅读(585)
评论(0)
推荐(0)
The request sent by the client was syntactically incorrect. 400 问题
摘要: The request sent by the client was syntactically incorrect. 这个问题是因为 SpringMvc controller 里面的方法参数和请求参数不匹配。请求参数在 Contoller 的方法参数对象中不存在则会报这个错误。如 : Cont...
阅读全文
posted @ 2014-08-26 10:33 廖东海
阅读(315)
评论(0)
推荐(0)
2014年8月25日
7天入门JavaScript,第一天
摘要: Javascript中最好的特性是对函数的实现,函数是javascript的基础模块单元,用于代码复用,信息隐藏,组合调用。函数即对象的行为。 函数,既是方法,又是类。参数函数的参数是一个arguments数组。函数内部可以迭代访问参数。类似 java 的 变长参数 public void fun(...
阅读全文
posted @ 2014-08-25 19:59 廖东海
阅读(163)
评论(0)
推荐(0)
2014年8月22日
linux 下 启动web项目报 java.net.UnknownHostException
摘要: 修改/etc/hosts文件127.0.0.1 主机名 localhost.localdomain localhost或是再添加一条127.0.0.1 主机名
阅读全文
posted @ 2014-08-22 14:42 廖东海
阅读(248)
评论(0)
推荐(0)
2014年8月20日
HashMap 和 Hashtable
摘要: 在使用java.util 里Properties ,当value是null时报 NullpointerException. 看源码发现 publicclass Properties extends Hashtable { /** * use serialVersionUID fr...
阅读全文
posted @ 2014-08-20 19:15 廖东海
阅读(141)
评论(0)
推荐(0)
2014年8月13日
Servlet 两种跳转方式
摘要: response.sendRedirect , // 重定向,服务器端将uri返回到客户端,客户端再次发送请求。 RequestDispatcher rd = getServletContext().getRequestDispatcher("/login.jsp"); rd.forward...
阅读全文
posted @ 2014-08-13 10:08 廖东海
阅读(645)
评论(0)
推荐(0)
SpringMVC - 问题. No mapping found for HTTP request with URI
摘要: 这个配置用于SpringMVC跳转控制。 spring org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/spring/spring-servlet.xml 1 ...
阅读全文
posted @ 2014-08-13 10:07 廖东海
阅读(777)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页