摘要: Window->Preferences->MyEclipse->Servers->Tomcat x.x->JDK->Optional Java VM arguments: -Xms512m:表示JVM Heap(堆内存)最小尺寸512MB,初始分配-Xmx1024m:表示JVM Heap(堆内存)最 阅读全文
posted @ 2019-03-04 10:43 愚蠢的程序员 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 每次MyEclipse工作空间报错如下:'Building workspace' has encountered a problem. Errors occurred during the build.并且详细信息为:Errors occurred during the build. Errors 阅读全文
posted @ 2019-03-04 10:14 愚蠢的程序员 阅读(1140) 评论(0) 推荐(0) 编辑
摘要: Therefore, I cannot just add the connector attribute in standalone.xml like so: 在 <JBOSS_HOME> /standalone/configuration/standalone.xml,添加配置文件,红色字体部分 阅读全文
posted @ 2019-02-28 15:56 愚蠢的程序员 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 一.css样式表 1.样式表分类 1.内联式 <p >This is an apple</p> 2.内嵌样式表 作为一个独立的区域 内嵌在网页里面,必须写在head标签里面 <style type="text/css> p{text-decoration:underline} </style> 3. 阅读全文
posted @ 2019-02-19 09:40 愚蠢的程序员 阅读(887) 评论(0) 推荐(0) 编辑
摘要: 官方下载地址:http://archive.apache.org/dist/struts/binaries/ 阅读全文
posted @ 2019-02-18 10:46 愚蠢的程序员 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Beanutils.copyProperties 异常一: No origin bean specifiedBeanutils.copyProperties 异常二: No destination bean specifiedBeanutils.copyProperties的源码: public v 阅读全文
posted @ 2019-02-15 09:53 愚蠢的程序员 阅读(1966) 评论(0) 推荐(0) 编辑
摘要: 要想在Eclipse运行jsp文件,首先需要指定对应的服务器,即需要将Eclipse与Tomcat进行绑定,绑定成功后的界面如下: 要想在Eclipse运行jsp文件,首先需要指定对应的服务器,即需要将Eclipse与Tomcat进行绑定,绑定成功后的界面如下: 要想在Eclipse运行jsp文件, 阅读全文
posted @ 2019-02-15 08:48 愚蠢的程序员 阅读(1573) 评论(0) 推荐(0) 编辑
摘要: 以apache-tomcat-7.0.6为例,进入tomcat安装目录,编辑文件“安装目录\apache-tomcat-7.0.6\conf\server.xml”(可以用记事本打开) 以apache-tomcat-7.0.6为例,进入tomcat安装目录,编辑文件“安装目录\apache-tomc 阅读全文
posted @ 2019-02-14 20:59 愚蠢的程序员 阅读(7315) 评论(0) 推荐(0) 编辑
摘要: 一、JBoss优点: a、Jboss支持热部署,将归档后的JAR、WAR文件到部署目录下自动加载部署,自动更新。 b、在高并发访问时,性能比Tomcat更加优秀、高效。 c、Jboss在设计方面与Tomcat相比,进行了线程池和连接池的优化。 d、Jboss已经成为Java中间件的一个企业级的Web 阅读全文
posted @ 2019-02-14 17:19 愚蠢的程序员 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 1 Jboss7下载与安装1.1 官方下载路径:http://www.jboss.org/jbossas/downloads,目前最新稳定版本为7.1.1 final,分别有zip和gz两个版本,本文介绍xp下的zip版本。 1.2 目录介绍与启动把下载的zip包解压到相关目录,如目录E:/dev_ 阅读全文
posted @ 2019-02-14 17:10 愚蠢的程序员 阅读(784) 评论(0) 推荐(0) 编辑