
J2EE
文章平均质量分 64
liuwenbo7514
奋斗,永不止步!
展开
-
tomcat相关配置
建立一个虚拟目录,以下便是操作步骤: 1.找到%tomcat_home%/conf里的server.xml文件 2.在在和之间加上如下代码: (严格区分大小写,当path=""时,此时的虚拟目录直接为root--->http://localhost:8080/) 参数:原创 2009-08-06 14:38:00 · 312 阅读 · 0 评论 -
web.xml文件dtd2.3说明
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">context-param*, filter*, filter-mapping*, listener*, servlet*,servlet-mapping*, session-config?,原创 2009-08-25 11:51:00 · 1319 阅读 · 0 评论 -
hibernate与mysql连接超时的解决方法
用c3p0代替hibernate的连接池。c3p0.9.1.jar可从hibernate开源项目的lib下面找到,将其拷贝到web-inf/lib下面。在hibernate.cfg.xml配置文件中添加以下信息: org.hibernate.cache.NoCacheProvider org.hibernate.connection.C3P0Co原创 2009-08-27 09:22:00 · 1233 阅读 · 0 评论 -
fckeditor初始化赋值方法
1、添加代码,引入相关配置的js: 2、在html 的标签里添加onload方法如下:window.onload = function(){var oFCKeditor = new FCKeditor( MyTextarea ) ;oFCKeditor.BasePath = "/fckeditor/" ;oFCKeditor.ReplaceTextarea(原创 2009-08-27 10:11:00 · 1563 阅读 · 0 评论