当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 1.修改CATALINA_HOME\conf\server.x
 

 

    摘要: 这个demo供大家一起探讨学习struts,因为工作太累,没精力给大家解释实现原理。如果看不懂,没关系。只是说明java/jsp/base/ target=_blank>jsp基础还没有到火候,不要心急,回去强化下jsp+servlet,基础扎实了,自然能够看懂我写的代码。这个demo借鉴了网上很多前人的经验,在此一并谢谢。web.xml文件:<?xml version="1.0......
 ·java.lang.classnotfoundexception翻译    »显示摘要«
    摘要: <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"><!--newpage--><html><head><!-- generated by javado......


tomcat4.1.24+Mysql连接池配法
1.修改catalina_home\conf\server.xml <!-- tomcat root context --> <context path="" docbase="root" debug="0"> <logger classname="org.apache.catalina.logger.filelogger" prefix="localhost_dbtest_log." suffix=".txt" timestamp="true"/> <resource name="jdbc/mysqldb" auth="container" type="javax.sql.datasource"/> <resourceparams name="jdbc/mysqldb"> <parameter> <name>factory</name> <value>org.apache.commons.dbcp.basicdatasourcefactory</value> </parameter> <!-- maximum number of db connections in pool. make sure you configure your mysqld max_connections large enough to handle all of your db connections. set to 0 for no limit. --> <parameter> <name>maxactive</name> <value>100</value> </parameter> <!-- maximum number of idle db connections to retain in pool. set to 0 for no limit. --> <parameter> <name>maxidle</name> <value>30</value> </parameter> <!-- maximum time to wait for a db connection to become available in ms, in this example 10 seconds. an exception is thrown if this timeout is exceeded. set to -1 to wait indefinitely. --> <parameter> <name>maxwai
...   下一页
    摘要: 这几天在学习jsf / aspectj / refactoring, 以及在eclipse下的使用。aspectj中的四个概念:aspectj-1.5.0m2/doc/progguide/quick.html#quick-pointcuts">pointcuts - 切入点(类似于一个动作,一件事情,甚至一组动作或事情等等),具体可以是一个或者几个方法,实例化,赋值(set,get),异常,bl......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE