摘要:
package com.itheima.jedis; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import redis.clients.jedis.Jedis; impo 阅读全文
摘要:
<!-- 对静态资源放行 --> <mvc:resources location="/css/" mapping="/css/**"/> <mvc:resources location="/js/" mapping="/js/**"/> <mvc:resources location="/fonts 阅读全文
摘要:
<!-- Springmvc的异常处理器 --> <!-- <bean class="com.itheima.springmvc.exception.CustomExceptionResolver"/> --> <!-- SPringmvc的拦截器 --> <mvc:interceptors> <! 阅读全文
摘要:
extended internet daemonxinetd是新一代的网络守护进程服务程序,又叫超级Internet服务器,常用来管理多种轻量级Internet服务。xinetd提供类似于inetd+tcp_wrapper的功能,但是更加强大和安全。2. xinetd的特色1) 强大的存取控制功能— 阅读全文
摘要:
open函数的flag详解1 读写权限:O_RDONLY O_WRONLY O_RDWR (1)linux中文件有读写权限,我们在open打开文件时也可以附带一定的权限说明 (譬如O_RDONLY就表示以只读方式打开,O_WRONLY表示以只写方式打开, O_RDWR表示以可读可写方式打开) (2) 阅读全文
摘要:
(1)linux中的文件描述符fd的合法范围是0或者一个正正数,不可能是一个负数。 (2)open返回的fd程序必须记录好,以后向这个文件的所有操作都要靠这个fd去对应这个文件,最后关闭文件时也需要fd去指定关闭这个文件。如果在我们关闭文件前fd丢掉了那就惨了,这个文件没法关闭了也没法读写了。 提醒 阅读全文
摘要:
1. 课前回顾 Springmvc 高级参数绑定 数组 List <input type name=ids /> 多个 方法 (Integer[] ids) QueryVo (里面Integer[] ids) 方法(QueryVo 里面List<Items> itemList <input type 阅读全文