Tomcat Server的结构图 Tomcat服务器的启动是基于一个server.xml文件的,Tomcat启动的时候首先会启动一个Server,Server里面就会启动Service,Service里面就会启动多个"Connector(连接器)",每一个连接器都在等待客户机的连接,当有用户使用浏 ...
分类:
其他好文 时间:
2017-01-05 22:49:27
阅读次数:
257
Django admin 权威指南(一) 版本: Django 1.10 此部分由官方文档《6.5.1 The Django admin site》翻译而来。 6.5.1.1 概览 默认情况下,使用startproject的时候,admin就被激活了。 如果需要手动启用,请按下面的需求和要点进行操作 ...
分类:
其他好文 时间:
2016-12-19 08:30:24
阅读次数:
1284
需要生成如下图的表单样式,图一: 正确代码: <?php $form = ActiveForm::begin([ 'id' => 'login-form', 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => [ 'templa ...
分类:
其他好文 时间:
2016-12-16 22:44:17
阅读次数:
2149
一、概述: 近来也是在看AOP方面的东西,了解到Emit可以实现。之前对Emit的了解也就是停留在Reflector针对方法反编译出来的部分指令。就用这次机会学习下Emit也用这篇随笔记录下学习的过程。某些我也不了解的地方也希望各位了解的朋友指导下。 学习前可以先了解下Opcodes 二、工具 1、 ...
分类:
其他好文 时间:
2016-12-16 17:02:09
阅读次数:
239
[root@localhost~]$cd/opt/src/httpd-2.2.29/modules/ssl/[root@localhostssl]$apxs[root@localhostssl]$/usr/local/apache2/bin/apxs-i-c-a-DHAVE_OPENSSL=1-I/usr/include/openssl/-lcrypto-lssl-ldl*.c[root@localhostssl]#vim/etc/httpd/extra/httpd-ssl.confDocumentRoot"..
分类:
Web程序 时间:
2016-12-05 15:03:47
阅读次数:
181
如果你的程序中使用dlopen、dlsym、dlclose、dlerror显示加载动态库,需要设置链接选项-ldl
分类:
其他好文 时间:
2016-11-29 00:14:38
阅读次数:
139
linux 通过dlopen来实现: 生成动态库:g++ -fPIC -shared triangle.cpp -o triangle.so 生成test主函数:g++ -fPIC test.cpp -ldl -o test 具体demo:http://files.cnblogs.com/files ...
分类:
编程语言 时间:
2016-09-22 23:46:34
阅读次数:
203