07 2013 档案

摘要:1.对于安装版,比较方便了,直接运行tomcat6w.exe,选择Java选项卡,在这里,可以设置初始化内存,最大内存,线程的内存大小。初始化内存:如果机器的内存足够大,可以直接将初始化内存设置为512M,如果机器内存较小可适当调小,对于运行了EJB的应用,最好不要低于128M。最大内存:最大内存目前设置为512M.线程内存大小:目前配置为1024KB,这也是JDK5.0后的默认配置。对于容器下运行了多个WEB应用时,尽量将相同的JAR包转移到TOMCAT的lib下,此外还需要在JAVA OPTIONS加上如下配置:-XX:PermSize=16m-XX:MaxPermSize=128m此配置 阅读全文
posted @ 2013-07-22 17:17 jerome.rong 阅读(8601) 评论(0) 推荐(0)
摘要:RM8005: IE6 IE7 IE8(Q) 中行内元素后相邻的浮动元素在某些情况下会折行放置在之前行内元素所在行框的底部标准参考W3C CSS 2.1 规范文档里对于浮动元素与非浮动行内元素相邻时的情况有如下解释。以下是关键段落:A floated box is shifted to the left or right until its outer edge touches the containing block edge or the outer edge of another float. If there's a line box, the top of the float 阅读全文
posted @ 2013-07-16 21:53 jerome.rong 阅读(491) 评论(0) 推荐(0)
摘要:nginx.conf文件结构如下:.....events{ ......}http{....server{....}server{ listen 192.168.0.12:80; server_name 192.168.0.12; access_log logs/server1.access.log combined; location /{ index index.html index.htm; root d:/server1; }}.....} 阅读全文
posted @ 2013-07-10 10:20 jerome.rong 阅读(260) 评论(0) 推荐(0)