还没有尝试修改apache的最大连接数,方法如下:步骤一先修改 /path/apache/conf/httpd.conf文件。# vi httpd.conf将“#Include conf/extra/httpd-mpm.conf”前面的 “#” 去掉,保存。 步骤二再修改 /path/apache/...
1.下载文件乱码问题 new String("免责声明.pdf".getBytes("utf-8"), "ISO-8859-1");2.图片转blogString path = request.getSession().getServletContext().getRealPath("/"); .....
分类:
其他好文 时间:
2014-07-13 23:17:43
阅读次数:
245
一、配置Tomcat环境变量1,新建变量名:CATALINA_BASE,变量值:C:\tomcat2,新建变量名:CATALINA_HOME,变量值:C:\tomcat3,打开PATH,添加变量值:%CATALINA_HOME%\lib;%CATALINA_HOME%\bin二、启动Tomcat服务...
分类:
其他好文 时间:
2014-07-13 22:55:03
阅读次数:
223
此系统为V3.0,全新的设计,代码非常简洁,维护非常简单,扩展性能非常好。在此基础上开发了一个crm系统,展示地址为http://temp.qingdie.net一、系统特点系统拥有10套皮肤,和7套菜单表现方式。系统具有9大特点:1、框架独立化;2、模块插件化;3、数据请求异步化;4、权限分配可视...
分类:
其他好文 时间:
2014-07-13 22:14:52
阅读次数:
428
优化性能参数设置,在ngnix.conf中的http 层加上fastcgi参数如下:
http {
fastcgi_cache_path /usr/local/nginx/fastcgi_cache levels=1:2 keys_zone=TEST:10m inactive=5m;
fastcgi_connect_timeout=300;
fastcgi_send_timeout=30...
分类:
其他好文 时间:
2014-07-13 17:17:07
阅读次数:
218
Design an algorithm and write code to find the first common ancestory of two nodes in a binary tree. Avoid storing additional nodes in data structure....
分类:
其他好文 时间:
2014-07-13 13:24:21
阅读次数:
279
就Android平台而言,URI主要分三个部分:scheme, authority and path。其中authority又分为host和port。格式如下:scheme://host:port/path举个实际的例子:content://com.example.project:200/folde...
分类:
移动开发 时间:
2014-07-13 13:19:12
阅读次数:
368
比如要求输入一行数据(注意:没有给出输入多少个),并且以空格隔开那么就可以如下进行判断1 char c='0';2 int a[10],temp,i=0;3 while(c!='\n')4 {5 scanf("%d%c",&temp,&c);6 a[i]=temp;7 i++; ...
分类:
编程语言 时间:
2014-07-13 13:10:53
阅读次数:
231
今天看华为的上机题目中,有一道题目是判断是否是回文数,以前没有碰到过这个概念。所谓回文数即:正着念和反着念是一样的,比如787等....判断的程序如下: 1 #include 2 using namespace std; 3 int main() 4 { 5 int n,m=0,temp;...
分类:
其他好文 时间:
2014-07-13 12:49:17
阅读次数:
210