194#user nobody;worker_processes 8;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;event...
分类:
其他好文 时间:
2014-07-03 09:31:43
阅读次数:
457
1、利用System.getProperty()函数获取当前路径:System.out.println(System.getProperty("user.dir"));//user.dir指定了当前的路径2、使用File提供的函数获取当前路径:File directory = new File(""...
分类:
编程语言 时间:
2014-07-03 07:08:28
阅读次数:
521
/bin,/sbin,/usr/bin,/usr/sbin区别/ : this is root directory root 用户根目录/bin : commands in this dir are all system installed user commands 系统的一些指令/sbin: c...
分类:
系统相关 时间:
2014-07-03 06:29:10
阅读次数:
223
操作配置文件PropertiesTable of Contents1 定义2 读取配置值3 修改和保存配置4 注意1 定义csharp中在Settings.settings文件中定义配置字段,把作用范围定义为User,则运行时可更 改,Applicatiion则运行时不可更改,可以使用数据网格视图,...
分类:
其他好文 时间:
2014-07-02 23:43:22
阅读次数:
197
if(request.getHeader("User-Agent").toUpperCase().indexOf("MSIE") > 0){ response.setHeader("Content-disposition", "attachment; filename=" ...
分类:
其他好文 时间:
2014-07-02 22:12:45
阅读次数:
186
例如: 表User中有一个字段 salary Number(10,3),如果想把字段salary的类型提高精度到salary Number(10,6),保留六位小数,解决办法:1,ALTER TABEL USER MODIFY SALARY NUMBER(13,6);解释:number类型刚开始是,...
分类:
数据库 时间:
2014-07-02 22:02:59
阅读次数:
322
1、返回的是连接的数据库名and db_name()>02、作用是获取连接用户名and user>03、将数据库备份到Web目录下面;backup database 数据库名 to disk='c:\inetpub\wwwroot\1.db';--4、显示SQL系统版本and 1=(select @...
分类:
数据库 时间:
2014-07-02 22:00:57
阅读次数:
300
Query session.createQuery(String hql)方法; * hibernate的session.createQuery()方法是使用HQL(hibernate的查询语句)语句查询对象的。 * hql:是查询对象的,例如:"from User",其中from不区分大小写,而U...
分类:
系统相关 时间:
2014-07-02 21:17:44
阅读次数:
265
(转自:http://blog.csdn.net/marshalchen/article/details/6552103)select * from user_tab_cols where column_name=upper('xxxxx');查询哪些表中有某一列select status from...
分类:
数据库 时间:
2014-07-02 20:56:58
阅读次数:
457
设备资源管理系统-JFreeChart操作: 1、以柱状图的形式统计人员情况 统计项:单位名称 单位下人员数量 查询数据库表(elec_systemddl、elec_user),返回结果。 2、PO对象转换成VO对象 3、使用JfreeChart生成图片,(注意:使用...
分类:
其他好文 时间:
2014-07-02 20:40:59
阅读次数:
204