??xml version="1.0" encoding="utf-8" standalone="yes"?>国产日本在线观看,欧美日韩电影一区二区,欧美日韩高清不卡http://www.aygfsteel.com/konhon/category/3031.html忘掉過去Q展望未來。找回自我,越自我? <br> <b>逃避不一定躲的过, 面对不一定最难过, 孤单不一定不快乐, 得到不一定能长久, 失去不一定不再拥? 可能因ؓ某个理由而伤心难q? 但我却能找个理由让自己快?</b><br><p> <!-- Search Google --> <left> <form method="get" action="http://www.google.com/custom" target="google_window"> <table> <tr><td nowrap="nowrap" valign="top" align="left" height="32"> <a > <img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a> <input type="text" name="q" size="31" maxlength="255" value=""></input> <input type="submit" name="sa" value="搜烦"></input> <input type="hidden" name="client" value="pub-5408663347953425"></input> <input type="hidden" name="forid" value="1"></input> <input type="hidden" name="ie" value="UTF-8"></input> <input type="hidden" name="oe" value="UTF-8"></input> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input> <input type="hidden" name="hl" value="zh-CN"></input> </td></tr></table> </form> </left> <!-- Search Google --> zh-cnTue, 27 Feb 2007 11:02:54 GMTTue, 27 Feb 2007 11:02:54 GMT60Java~程电子书籍下蝲 http://www.aygfsteel.com/konhon/archive/2006/03/21/36685.htmlkonhon 优华konhon 优华Tue, 21 Mar 2006 12:27:00 GMThttp://www.aygfsteel.com/konhon/archive/2006/03/21/36685.htmlhttp://www.aygfsteel.com/konhon/comments/36685.htmlhttp://www.aygfsteel.com/konhon/archive/2006/03/21/36685.html#Feedback0http://www.aygfsteel.com/konhon/comments/commentRss/36685.htmlhttp://www.aygfsteel.com/konhon/services/trackbacks/36685.htmlJava~程电子书籍下蝲


环境安装配置Q?br />
TOMCAT的配|?br />http://download.chinaitlab.com/soft/10791.htm

JAVA配置文g~写说明文档
http://download.chinaitlab.com/soft/10010.htm

一步一步学会配|Kjava开发环?br />http://download.chinaitlab.com/soft/9483.htm

Weblogic7开发EJB的配|?br />http://download.chinaitlab.com/soft/4938.htm

图解JSP环境安装配置
http://download.chinaitlab.com/soft/2157.htm

Tomcat配置Ҏ
http://download.chinaitlab.com/soft/931.htm

全程指导Linux下JAVA环境配置
http://download.chinaitlab.com/soft/11272.htm

学习ҎQ?br />
通过JB4学习JAVA
http://download.chinaitlab.com/soft/7589.htm

10步学?JavaScript
http://download.chinaitlab.com/soft/6492.htm

Java Sctipt学习不求?br />http://download.chinaitlab.com/soft/6361.htm

JSP学习指南
http://download.chinaitlab.com/soft/6152.htm

JAVA学习文档
http://download.chinaitlab.com/soft/6114.htm

J2EE学习W记
http://download.chinaitlab.com/soft/6048.htm

JavaScript学习
http://download.chinaitlab.com/soft/3029.htm

Java2 学习指南
http://download.chinaitlab.com/soft/2743.htm

Juniper学习指南
http://download.chinaitlab.com/soft/2227.htm

J2EE学习资料
http://download.chinaitlab.com/soft/1618.htm

JSP由浅入深
http://download.chinaitlab.com/soft/1315.htm

面向对象~程Q?br />
Java面向对象~程指南
http://download.chinaitlab.com/soft/9792.htm

JAVA的核心技术:面向对象~程
http://download.chinaitlab.com/soft/9093.htm

Java ?UML 面向对象E序设计
http://download.chinaitlab.com/soft/6053.htm

Java 2 ~程21天自学?br />http://download.chinaitlab.com/soft/10507.htm

J2EE~程h
http://download.chinaitlab.com/soft/10506.htm

Java面向对象~程指南
http://download.chinaitlab.com/soft/9792.htm

Java专业~程指南
http://download.chinaitlab.com/soft/9791.htm

Java服务器高U编E?br />http://download.chinaitlab.com/soft/9790.htm

J2EE EAI~程指南
http://download.chinaitlab.com/soft/9784.htm

J2MEMIDP无线讑֤~程指南
http://download.chinaitlab.com/soft/9765.htm

JAVA~程思想 中文?br />http://download.chinaitlab.com/soft/9481.htm

Java XML~程指南
http://download.chinaitlab.com/soft/9097.htm

Java 数据库编E宝?br />http://download.chinaitlab.com/soft/9095.htm

JAVA的核心技术:面向对象~程
http://download.chinaitlab.com/soft/9093.htm

JDBC API数据库编E实作教?br />http://download.chinaitlab.com/soft/9087.htm

核心 JSF ~程
http://download.chinaitlab.com/soft/7946.htm

JAVA 2应用~程150?br />http://download.chinaitlab.com/soft/6815.htm

JAVA数据库编EJDBC
http://download.chinaitlab.com/soft/6113.htm

深入掌握J2EE~程技?br />http://download.chinaitlab.com/soft/6030.htm

实用J2EE设计模式~程指南
http://download.chinaitlab.com/soft/5033.htm

Java for Internet~程技?br />http://download.chinaitlab.com/soft/4198.htm

Java安全性编E指?br />http://download.chinaitlab.com/soft/3773.htm

J2ME无线讑֤~程
http://download.chinaitlab.com/soft/3669.htm

J2EE EJB~程实例
http://download.chinaitlab.com/soft/3141.htm

Java~程思想 W三?br />http://download.chinaitlab.com/soft/2982.htm

Java 极限~程
http://download.chinaitlab.com/soft/1707.htm

Java2~程详解
http://download.chinaitlab.com/soft/1705.htm


|络~程Q?br />
J2EE|络~程标准教程
http://download.chinaitlab.com/soft/9100.htm

Java|络~程实例
http://download.chinaitlab.com/soft/9090.htm

Java P2P|络~程技?br />http://download.chinaitlab.com/soft/6333.htm

Java|络~程
http://download.chinaitlab.com/soft/3871.htm

|络~程基础之 Java Script
http://download.chinaitlab.com/soft/3618.htm

Solaris Shell ~程
http://download.chinaitlab.com/soft/6426.htm

SUN Solaris理手册
http://download.chinaitlab.com/soft/5732.htm

Solaris性能理
http://download.chinaitlab.com/soft/11247.htm

Solaris9安装指南
http://download.chinaitlab.com/soft/5022.htm

SOLARIS高pȝ理员指?br />http://download.chinaitlab.com/soft/3726.htm

Solaris操作环境安全
http://download.chinaitlab.com/soft/1500.htm

Solaris GNOME2.0桌面用户指南
http://download.chinaitlab.com/soft/1488.htm

Solaris 9 12/03 安装指南
http://download.chinaitlab.com/soft/1484.htm

Solaris理员指?br />http://download.chinaitlab.com/soft/1475.htm

中文Solaris9 pȝ理员指?br />http://download.chinaitlab.com/soft/1463.htm

Solaris安全性专题指?br />http://download.chinaitlab.com/soft/746.htm


XMLpdQ?br />
Java XML~程指南
http://download.chinaitlab.com/soft/9097.htm

JavaE序设计EJB、XML与数据库
http://download.chinaitlab.com/soft/9094.htm

XML l极教程
http://download.chinaitlab.com/soft/9057.htm

Java&XML应用
http://download.chinaitlab.com/soft/6211.htm

XML_JAVA指南
http://download.chinaitlab.com/soft/6163.htm

JDBCQ?br />
JDBC API数据库编E实作教?br />http://download.chinaitlab.com/soft/9087.htm

JAVA数据库编EJDBC
http://download.chinaitlab.com/soft/6113.htm

JDBC API 参考教E第三版
http://download.chinaitlab.com/soft/6057.htm

JDBC与Java数据库程序设?br />http://download.chinaitlab.com/soft/6018.htm

Java语言SQL接口 JDBCprogram
http://download.chinaitlab.com/soft/5938.htm

JSP应用E序开发指?br />http://download.chinaitlab.com/soft/1546.htm

?JDBC 理数据库连?br />http://download.chinaitlab.com/soft/935.htm

JDOQ?br />
全面了解JDO数据库编E?br />http://download.chinaitlab.com/soft/7992.htm

StrutsQ?br />
Struts中文手册
http://download.chinaitlab.com/soft/10516.htm

Struts架构指导
http://download.chinaitlab.com/soft/7529.htm

_Nstruts技?br />http://download.chinaitlab.com/soft/6801.htm

Struts 学习h问答
http://download.chinaitlab.com/soft/6156.htm

HibernateQ?br />
Hibernate2.1.2参考手册中文版
http://download.chinaitlab.com/soft/8919.htm



JAVA与模式\J2EE模式Q?br />
J2EE 核心模式
http://download.chinaitlab.com/soft/9785.htm

Java 企业设计模式
http://download.chinaitlab.com/soft/9096.htm

Java单工厂创立性模式介l?br />http://download.chinaitlab.com/soft/7398.htm

EJB设计模式
http://download.chinaitlab.com/soft/6135.htm

JAVA设计模式
http://download.chinaitlab.com/soft/6112.htm

实用J2EE设计模式~程指南
http://download.chinaitlab.com/soft/5033.htm

Java与模?br />http://download.chinaitlab.com/soft/3073.htm

设计模式Java?br />http://download.chinaitlab.com/soft/1723.htm


JBuilder开发Servlet及JSPQ?br />
_NJBuilder
http://download.chinaitlab.com/soft/10565.htm

JBuilder速成资料
http://download.chinaitlab.com/soft/9714.htm

Jbuilder7和weblogic7整合开发手
http://download.chinaitlab.com/soft/9664.htm

JBUILDER9 软g开发项目实?br />http://download.chinaitlab.com/soft/9089.htm

JbuilderX开发指?br />http://download.chinaitlab.com/soft/9088.htm

Jbuilder x 指南
http://download.chinaitlab.com/soft/7984.htm

JBuilder4开发h员指?br />http://download.chinaitlab.com/soft/5939.htm

JBuilder7 Weblogic7整和开发培训手?br />http://download.chinaitlab.com/soft/4727.htm

JBuilder开发数据库应用E序
http://download.chinaitlab.com/soft/1701.htm

Java开发指?-Servlets和JSP?br />http://download.chinaitlab.com/soft/9793.htm

Java Servlets ~程指南
http://download.chinaitlab.com/soft/9098.htm

Oreilly Java Servlet
http://download.chinaitlab.com/soft/6522.htm

Java Servlet开发与实例
http://download.chinaitlab.com/soft/6029.htm

深入Java Servlet |络~程
http://download.chinaitlab.com/soft/9783.htm

用JSP_Servlet构徏三层式管理信息系l?br />http://download.chinaitlab.com/soft/6034.htm

Java Servlet帮助文档
http://download.chinaitlab.com/soft/2981.htm

JSP|站~程教程
http://download.chinaitlab.com/soft/11256.htm

JSP语法分析
http://download.chinaitlab.com/soft/11257.htm

JSP实用教程
http://download.chinaitlab.com/soft/10792.htm

JSP语法Q?Q?-HTML注释
http://download.chinaitlab.com/soft/10790.htm

JSP应用开发详?br />http://download.chinaitlab.com/soft/10025.htm

JSP技术揭U?br />http://download.chinaitlab.com/soft/9387.htm

JSP技术大?br />http://download.chinaitlab.com/soft/9388.htm

JSP|上书店实例详解
http://download.chinaitlab.com/soft/9386.htm

JSP动态网|技?br />http://download.chinaitlab.com/soft/8920.htm

JSP 技术大?br />http://download.chinaitlab.com/soft/7782.htm

JSP高开发与应用
http://download.chinaitlab.com/soft/7633.htm

JSP 完全探烦
http://download.chinaitlab.com/soft/7546.htm

JSP 高开发与应用
http://download.chinaitlab.com/soft/7116.htm

JSP~程技?br />http://download.chinaitlab.com/soft/7114.htm

JSP速成教程
http://download.chinaitlab.com/soft/6882.htm

JSP|络~程技?br />http://download.chinaitlab.com/soft/6880.htm

JSPE序设计指南
http://download.chinaitlab.com/soft/6690.htm

最新JSP入门与应?br />http://download.chinaitlab.com/soft/6697.htm

JSP快速入?br />http://download.chinaitlab.com/soft/6636.htm

JSP|页~程
http://download.chinaitlab.com/soft/6527.htm

JSP 实用教程
http://download.chinaitlab.com/soft/6334.htm

JSP入门与提?br />http://download.chinaitlab.com/soft/6326.htm

JSP语法
http://download.chinaitlab.com/soft/6116.htm

掌握自定义JSP标签
http://download.chinaitlab.com/soft/6096.htm

JSP 动态网站技术入门与提高
http://download.chinaitlab.com/soft/6019.htm

JSP实例入门
http://download.chinaitlab.com/soft/4377.htm

JSP教程之与数据库通信
http://download.chinaitlab.com/soft/3673.htm

如何成ؓ优秀的JSP E序?br />http://download.chinaitlab.com/soft/3002.htm

JSP数据库编E指?br />http://download.chinaitlab.com/soft/2946.htm

JSP 高~程
http://download.chinaitlab.com/soft/2635.htm

JSP实用~程实例集锦
http://download.chinaitlab.com/soft/2154.htm

JSPE序设计_ֽ实例
http://download.chinaitlab.com/soft/2151.htm

JSPx应用
http://download.chinaitlab.com/soft/1547.htm

JSPE序设计_ֽ实例
http://download.chinaitlab.com/soft/1543.htm

JSP实用~程实例集锦
http://download.chinaitlab.com/soft/1537.htm

JSP基础
http://download.chinaitlab.com/soft/894.htm

Eclipse开发Servlet及JSPQ?br />
Eclipse+Tomcat集成开发servle
http://download.chinaitlab.com/soft/6134.htm

J2EE Jboss Ejb With Eclipse 2003
http://download.chinaitlab.com/soft/6045.htm

konhon 优华 2006-03-21 20:27 发表评论
]]>
如何q行后缀不是jsp的jsp文gQ?/title><link>http://www.aygfsteel.com/konhon/archive/2006/03/21/36674.html</link><dc:creator>konhon 优华</dc:creator><author>konhon 优华</author><pubDate>Tue, 21 Mar 2006 10:37:00 GMT</pubDate><guid>http://www.aygfsteel.com/konhon/archive/2006/03/21/36674.html</guid><wfw:comment>http://www.aygfsteel.com/konhon/comments/36674.html</wfw:comment><comments>http://www.aygfsteel.com/konhon/archive/2006/03/21/36674.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/konhon/comments/commentRss/36674.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/konhon/services/trackbacks/36674.html</trackback:ping><description><![CDATA[<p>需要在你的web.xml中定义如下:</p> <p>    <servlet><br />        <servlet-name>jsp</servlet-name><br />        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class><br />        <init-param><br />            <param-name>fork</param-name><br />            <param-value>false</param-value><br />        </init-param><br />        <init-param><br />            <param-name>xpoweredBy</param-name><br />            <param-value>false</param-value><br />        </init-param><br />        <load-on-startup>3</load-on-startup><br />    </servlet></p> <p>    <servlet-mapping><br />        <servlet-name>jsp</servlet-name><br />        <url-pattern>*.jsm</url-pattern><br />    </servlet-mapping><br /></p><img src ="http://www.aygfsteel.com/konhon/aggbug/36674.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/konhon/" target="_blank">konhon 优华</a> 2006-03-21 18:37 <a href="http://www.aygfsteel.com/konhon/archive/2006/03/21/36674.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Tomcat5配置Mysql JDBC数据库连接池http://www.aygfsteel.com/konhon/archive/2005/07/29/8757.htmlkonhon 优华konhon 优华Fri, 29 Jul 2005 10:37:00 GMThttp://www.aygfsteel.com/konhon/archive/2005/07/29/8757.htmlhttp://www.aygfsteel.com/konhon/comments/8757.htmlhttp://www.aygfsteel.com/konhon/archive/2005/07/29/8757.html#Feedback0http://www.aygfsteel.com/konhon/comments/commentRss/8757.htmlhttp://www.aygfsteel.com/konhon/services/trackbacks/8757.html

1?安装Tomcat

参考Tomcat for window 的安装向|基本直接安装卛_Q注意:安装时会
提示输入理用户名和密码Q这是以后会用到的用户名和密码,切记?br />
2?MySqL的JDBC驱动复制?Tomcat%\Common\lib目录下?br />
3?安装MySqlQ默认安装即可?/p>

4?使用Tomcat的Web理应用配置数据?/p>

启动Tomcat服务器,打开览器,输入http://localhost:8080/admin/Q其?br />localhost可能是一台机器的IP或是服务器名UͼQ进入管理界面的登陆?br />面,q时候请输入原来安装时要求输入的用户名和密码Q登陆到理?br />面,选择ResourcesQData sourcesq入配置数据源界面,选择Data Source
Actions Q?gt;选择Create New Data Source,q入配置详细信息界面Q内容如
下:

JNDI Name: jdbc/mysql
Data Source URL: jdbc:mysql://localhost/dbname
JDBC Driver Class: com.mysql.jdbc.Driver
User Name: root
Password: ********
Max. Active Connections: 4
Max. Idle Connections: 2
Max. Wait for Connection: 500
Validation Query:

要求输入的JNDI Name{信息,其中除了JDBC DriverClass之外Q其他的可以Ҏ你的需要填写。比如Data Source URL的内容可能是Qjdbc:mysql:// IP或是名称/DataBaseNameQ其中DataBaseName是你的数据库名称QIP是你的数据库的所在的服务器的IP或是名称。最后点击SaveQ?gt;Commit Change.q样你的数据源的基本资料配置一半了?br />
4、改写Server.xml文g。该文g位于%Tomcat%\conf目录下,用记事本打开q在</host>之前加入下面的配|?br />
 <Context path = "/webappname">
         <ResourceLink name = "jdbc/mysql" global = "jdbc/mysql"
                 type = javax.sql.DataSourcer"/>
 </Context>
webappname即你的web目录?br />
5、保存,q将Tomcat的服务Stop and Start卛_?br />
下面是我的测试代码:

<% @ page contentType = " text/html; charset=GBK " %>
<% @ page import = " java.sql.* " %>
<% @ page import = " javax.sql.* " %>
<% @ page import = " javax.naming.* " %>
<%  
Connection con
= null ;
Statement sm
= null ;
ResultSet rs
= null ;
// out.println("<h1>Begin<h1>");
try {
   InitialContext ctx
= new  InitialContext();
   DataSource ds
= (DataSource)ctx.lookup( " java:comp/env/jdbc/mysql " );
   con 
=  ds.getConnection();
   sm 
=  con.createStatement();
   rs 
=  sm.executeQuery( " select * from iuser " );
   
while (rs.next())
      
out .println(rs.getString( " name " ) + " , " );
}
catch (Exception e) {
    
out .println(e.getMessage());
    e.printStackTrace();
}
finally   {
    
if  (rs  !=   null {
        
try   {
            rs.close();
        }
  catch  (SQLException e)  {}
        rs 
=   null ;
    }

    
if  (sm  !=   null {
        
try   {
            sm.close();
        }
  catch  (SQLException e)  {}
        sm 
=   null ;
    }

    
if  (con  !=   null {
        
try   {
            con.close();
        }
  catch  (SQLException e)  {}
        con 
=   null ;
    }

}

%>


q个Ҏ我自׃自测试过Q?是可行的?br />不过我自己在|上搜烦q,他们都配|的比较复杂。要改好几个文g?br />我的环境Qwin2000 + Tomcat5.0.28

[補充: 於Tomcat 5.5.X? 只要在圖形化配置後並Commit Changes, 然後在C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\context.xml中添加如下即可]
         <ResourceLink name = "jdbc/mysql" global = "jdbc/mysql" 
                 type 
= javax.sql.DataSourcer"/>
並在Web.xml中加?br />
    <resource-ref>
        
<res-ref-name>jdbc/mysql</res-ref-name>
        
<res-type>javax.sql.DataSource</res-type>
        
<res-auth>Container</res-auth>
    
</resource-ref>


konhon 优华 2005-07-29 18:37 发表评论
]]>
վ֩ģ壺 | | | | ͤ| | ľ| ɽ| | | | | Ӣ| | Ϫ| | | | ຣʡ| | ˷| | ɳ| | | ά| Ͽ| ʡ| ѽ| Ϻ| Ž| | | Ƽ| | | | | | | |